* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3e 25%, #0f1419 75%, #000000 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 260px;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(75, 172, 254, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar.collapsed {
    transform: translateX(-200px);
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(75, 172, 254, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logo {
    display: flex;
    align-items: center;
}

.sidebar-logo-img {
    height: 75px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(75, 172, 254, 0.5));
    transition: all 0.3s ease;
}

.sidebar-logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(75, 172, 254, 0.8));
}

.sidebar-logo h2 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-toggle {
    background: rgba(75, 172, 254, 0.1);
    border: 1px solid rgba(75, 172, 254, 0.3);
    color: #4facfe;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sidebar-toggle:hover {
    background: rgba(75, 172, 254, 0.2);
    border-color: #4facfe;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #8b9dc3;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    gap: 15px;
}

.nav-item:hover {
    background: rgba(75, 172, 254, 0.1);
    color: #4facfe;
}

.nav-item.active {
    background: rgba(75, 172, 254, 0.15);
    color: #ffffff;
    border-left-color: #4facfe;
}

.nav-icon {
    font-size: 20px;
    min-width: 25px;
}

.nav-text {
    font-size: 15px;
    font-weight: 500;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(75, 172, 254, 0.2);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.sidebar-username {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* Main Wrapper */
.main-wrapper {
    margin-left: 260px;
    padding: 20px 40px;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    width: calc(100% - 260px);
}

.sidebar.collapsed ~ .main-wrapper {
    margin-left: 60px;
    width: calc(100% - 60px);
}

.container {
    width: 100%;
    margin: 0;
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo-img {
    height: 105px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(75, 172, 254, 0.6));
    transition: all 0.3s ease;
}

.header-logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(75, 172, 254, 0.9));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.tagline {
    color: #8b9dc3;
    font-size: 14px;
    letter-spacing: 1px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.username {
    color: #ffffff;
    font-size: 16px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(26, 29, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(75, 172, 254, 0.5);
    box-shadow: 0 12px 40px rgba(75, 172, 254, 0.2);
}

.stat-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 10px rgba(75, 172, 254, 0.3));
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    color: #8b9dc3;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Link Section */
.link-section {
    background: rgba(26, 29, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.section-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.link-count {
    background: rgba(75, 172, 254, 0.2);
    color: #4facfe;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Link Generator */
.link-generator {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
}

.link-input-group {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(26, 29, 62, 0.8);
    border: 2px solid rgba(75, 172, 254, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.link-input-group:focus-within {
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.link-prefix {
    background: rgba(75, 172, 254, 0.1);
    padding: 15px 20px;
    border-right: 1px solid rgba(75, 172, 254, 0.2);
}

.prefix-text {
    color: #8b9dc3;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.link-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 15px;
    outline: none;
}

.link-input::placeholder {
    color: #5a6b8c;
}

.generate-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    color: #000000;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.generate-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-icon {
    font-size: 18px;
}

.link-help-text {
    color: #8b9dc3;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
}

/* Generated Links Section */
.generated-links-section {
    background: rgba(10, 14, 39, 0.4);
    border-radius: 15px;
    padding: 30px;
}

.generated-links-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.empty-text {
    color: #8b9dc3;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-subtext {
    color: #5a6b8c;
    font-size: 14px;
}

/* Link Card */
.link-card {
    background: rgba(26, 29, 62, 0.8);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
}

.link-card:hover {
    border-color: rgba(75, 172, 254, 0.4);
    background: rgba(26, 29, 62, 0.9);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-info {
    flex: 1;
    min-width: 0;
}

.link-url {
    color: #4facfe;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    word-break: break-all;
}

.link-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.link-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8b9dc3;
    font-size: 13px;
}

.link-stat-icon {
    font-size: 14px;
}

.link-actions {
    display: flex;
    gap: 10px;
}

.link-action-btn {
    background: rgba(75, 172, 254, 0.1);
    border: 1px solid rgba(75, 172, 254, 0.3);
    color: #4facfe;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.link-action-btn:hover {
    background: rgba(75, 172, 254, 0.2);
    border-color: #4facfe;
}

.link-action-btn.delete {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.1);
}

.link-action-btn.delete:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

/* Analytics Section */
.analytics-section {
    background: rgba(26, 29, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(75, 172, 254, 0.3);
    color: #8b9dc3;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover {
    background: rgba(75, 172, 254, 0.1);
    border-color: rgba(75, 172, 254, 0.5);
    color: #4facfe;
}

.filter-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: #4facfe;
    color: #000000;
    font-weight: 700;
}

.chart-container {
    margin-top: 30px;
    height: 400px;
    position: relative;
}

/* Activity Section */
.activity-section {
    background: rgba(26, 29, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(10, 14, 39, 0.9);
    border-color: rgba(75, 172, 254, 0.4);
}

.activity-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-icon {
    font-size: 24px;
}

.activity-text h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 5px;
}

.activity-text p {
    color: #8b9dc3;
    font-size: 14px;
}

.activity-time {
    color: #4facfe;
    font-size: 14px;
    font-weight: 600;
}

/* Analytics Details */
.analytics-details {
    background: rgba(26, 29, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.metric-card {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 12px;
    padding: 25px;
}

.metric-card h4 {
    color: #8b9dc3;
    font-size: 14px;
    margin-bottom: 10px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.metric-change {
    font-size: 14px;
    font-weight: 600;
}

.metric-change.positive {
    color: #00f2a0;
}

.metric-change.negative {
    color: #ff6b6b;
}

/* Payouts Section */
.payouts-section {
    background: rgba(26, 29, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.payout-info-banner {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 30px;
}

.payout-info-content h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 10px;
}

.payout-info-content p {
    color: #8b9dc3;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.payout-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.payout-card {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.payout-card h3 {
    color: #8b9dc3;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.payout-amount {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #00f2a0 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.payout-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    color: #000000;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

.payout-note {
    color: #8b9dc3;
    font-size: 14px;
}

.payout-history {
    background: rgba(10, 14, 39, 0.4);
    border-radius: 15px;
    padding: 30px;
}

.payout-history h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
}

.payout-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payout-item {
    background: rgba(26, 29, 62, 0.6);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payout-details h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 5px;
}

.payout-details p {
    color: #8b9dc3;
    font-size: 14px;
}

.payout-amount-display {
    text-align: right;
}

.payout-amount-display .amount {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.completed {
    background: rgba(0, 242, 160, 0.2);
    color: #00f2a0;
}

/* Settings Section */
.settings-section {
    background: rgba(26, 29, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.settings-group {
    background: rgba(10, 14, 39, 0.4);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
}

.settings-group h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

.setting-item {
    margin-bottom: 20px;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item label {
    display: block;
    color: #8b9dc3;
    font-size: 14px;
    margin-bottom: 8px;
}

.setting-item input,
.setting-item select {
    width: 100%;
    background: rgba(26, 29, 62, 0.8);
    border: 1px solid rgba(75, 172, 254, 0.3);
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.setting-item input:focus,
.setting-item select:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.setting-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(75, 172, 254, 0.1);
}

.setting-toggle:last-child {
    border-bottom: none;
}

.setting-toggle label {
    color: #ffffff;
    font-size: 14px;
}

.setting-toggle input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.save-settings-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    color: #000000;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.save-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

/* Quick Analytics Section */
.quick-analytics {
    background: rgba(26, 29, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-260px);
    }

    .sidebar.collapsed {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 0;
    }

    .sidebar.collapsed ~ .main-wrapper {
        margin-left: 0;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 15px;
    }

    .header-logo-img {
        height: 82px;
    }

    .logo-text {
        align-items: center;
    }

    .logo h1 {
        font-size: 36px;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .filter-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .filter-btn {
        flex: 1;
        padding: 12px 15px;
        font-size: 12px;
    }

    .chart-container {
        height: 300px;
    }

    .payout-summary {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .link-input-group {
        flex-direction: column;
    }

    .link-prefix {
        width: 100%;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(75, 172, 254, 0.2);
    }

    .generate-btn {
        width: 100%;
        justify-content: center;
    }

    .link-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .link-actions {
        width: 100%;
    }

    .link-action-btn {
        flex: 1;
    }

    .notification-toast {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    /* Sign-in page mobile */
    .sign-in-container {
        padding: 40px 24px;
        max-width: 100%;
    }
    
    .sign-in-logo-img {
        height: 80px;
    }
    
    .sign-in-title {
        font-size: 28px;
    }
    
    .auth-provider-btn {
        padding: 13px 20px;
        font-size: 14px;
    }
    
    .email-auth-actions {
        grid-template-columns: 1fr;
    }
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(10, 14, 39, 0.95);
    border: 1px solid rgba(75, 172, 254, 0.5);
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 400px;
}

.notification-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-toast.success {
    border-color: rgba(0, 242, 160, 0.5);
    background: rgba(0, 242, 160, 0.1);
}

.notification-toast.error {
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(255, 107, 107, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card, .link-section, .analytics-section, .activity-section {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Sign In Page Styles */
.sign-in-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.sign-in-container {
    background: rgba(26, 29, 62, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease;
}

.sign-in-logo {
    margin-bottom: 25px;
}

.sign-in-logo-img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(75, 172, 254, 0.6));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(75, 172, 254, 0.6));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(75, 172, 254, 0.9));
    }
}

.sign-in-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.sign-in-subtitle {
    color: #8b9dc3;
    font-size: 15px;
    margin-bottom: 35px;
    line-height: 1.5;
}

/* Auth Buttons Container */
.auth-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Provider Buttons */
.auth-provider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    border: 1px solid rgba(75, 172, 254, 0.3);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-provider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.auth-provider-btn:active {
    transform: translateY(0);
}

.provider-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Google Button */
.google-btn {
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    border-color: rgba(255, 255, 255, 0.2);
}

.google-btn:hover {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Apple Button */
.apple-btn {
    background: #000000;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.apple-btn:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Email Toggle Button */
.email-toggle-btn {
    background: rgba(75, 172, 254, 0.1);
    color: #4facfe;
    border-color: rgba(75, 172, 254, 0.3);
    justify-content: space-between;
}

.email-toggle-btn:hover {
    background: rgba(75, 172, 254, 0.15);
    border-color: rgba(75, 172, 254, 0.5);
}

.email-toggle-btn.active {
    background: rgba(75, 172, 254, 0.2);
    border-color: #4facfe;
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.email-toggle-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 8px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(75, 172, 254, 0.2);
}

.divider-text {
    padding: 0 16px;
    color: #8b9dc3;
    font-size: 13px;
    font-weight: 500;
}

/* Email Auth Dropdown */
.email-auth-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.email-auth-dropdown.open {
    max-height: 400px;
    margin-top: 12px;
}

.email-auth-content {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(75, 172, 254, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Auth Input Fields */
.auth-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(26, 29, 62, 0.8);
    border: 1px solid rgba(75, 172, 254, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.auth-input::placeholder {
    color: #5a6b8c;
}

.auth-input:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
    background: rgba(26, 29, 62, 0.95);
}

/* Email Auth Actions */
.email-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.email-action-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-action-btn.primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #000000;
}

.email-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.email-action-btn.secondary {
    background: rgba(75, 172, 254, 0.15);
    color: #4facfe;
    border: 1px solid rgba(75, 172, 254, 0.3);
}

.email-action-btn.secondary:hover {
    background: rgba(75, 172, 254, 0.25);
    border-color: rgba(75, 172, 254, 0.5);
}

.email-action-btn:active {
    transform: translateY(0);
}

/* Forgot Password Button */
.forgot-password-btn {
    background: transparent;
    border: none;
    color: #8b9dc3;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.forgot-password-btn:hover {
    color: #4facfe;
}

/* Legacy support */
.google-icon {
    width: 20px;
    height: 20px;
}

/* Dashboard Page Container */
.dashboard-page {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

