/* Global Reset */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #0b0f19;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.app-container {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 70px; /* Space for bottom nav */
    background: linear-gradient(180deg, #0b1e3b 0%, #0b0f19 100%); /* Deep blue to black gradient */
}

/* Header */
.header {
    padding: 40px 20px 20px;
    text-align: left;
}

.app-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 15px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
}

.notification-bar {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
    color: #fff;
    backdrop-filter: blur(5px);
}

.notification-bar i {
    margin-right: 5px;
}

/* Top Actions */
.top-actions {
    padding: 0 20px;
    margin-bottom: 30px;
}

.action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.action-card:active {
    transform: scale(0.98);
}

.login-card {
    background: linear-gradient(135deg, #eee5d3 0%, #dfd3b6 100%);
    color: #333;
    font-weight: bold;
}

.login-card .card-content {
    display: flex;
    align-items: center;
}

.sample-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sample-card .card-content {
    display: flex;
    align-items: center;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
    color: #333;
}

.sample-card .icon-circle {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.action-text {
    font-size: 16px;
    font-weight: 600;
}

.more-link {
    font-size: 12px;
    opacity: 0.8;
}

/* Products Section */
.products-section {
    padding: 0 20px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 14px;
}

.section-header h2 {
    margin: 5px 0 0;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.section-header h2::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: #00a8ff;
    margin-right: 10px;
    border-radius: 2px;
}

.product-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-card {
    border-radius: 16px;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 35, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.2s;
}

.product-card:active {
    transform: scale(0.98);
}

.product-card h3 {
    margin: 0 0 0 15px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    flex-grow: 1;
    text-align: left;
}

.btn-check {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 0;
    z-index: 2;
    white-space: nowrap;
}

.bg-icon {
    position: static;
    transform: none;
    opacity: 1;
    color: #fff;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
    z-index: 1;
}

/* Card Colors */
.card-blue .bg-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.card-green .bg-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 4px 15px rgba(56, 249, 215, 0.3);
}

.card-pink .bg-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.3);
}

.card-beige .bg-icon {
    background: linear-gradient(135deg, #e6b980 0%, #eacda3 100%);
}

.card-orange .bg-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

/* Remove old background colors overrides */
.card-blue, .card-green, .card-pink, .card-beige, .card-orange {
    background-color: rgba(30, 35, 50, 0.6);
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1f2125;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #666;
    padding: 5px;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: #fff;
}
