﻿:root {
    --bg-dark: #050505;
    --bg-card: #121212;
    --primary: #00f3ff;
    --primary-dim: #00f3ff40;
    --secondary: #ffbd00;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gradient-main: linear-gradient(90deg, #00f3ff 0%, #0066ff 100%);
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* Login Screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-content {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo {
    margin-bottom: 40px;
}

.login-logo i {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 10px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 15px;
    padding-right: 45px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
}

.password-toggle {
    position: absolute;
    right: 15px;
    bottom: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--primary);
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 20px;
}

/* App Content */
#app-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Header */
.app-header {
    padding: 20px;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* App Container */
.app-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: calc(var(--nav-height) + 40px);
    -webkit-overflow-scrolling: touch;
}

/* Tabs Content */
.tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    padding-bottom: 120px;
    min-height: calc(100vh - var(--nav-height) - 100px);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Module Header */
.module-header {
    margin-bottom: 20px;
}

.module-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.module-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Video Carousel */
.video-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    align-items: flex-start;
}

.video-carousel::-webkit-scrollbar {
    display: none;
}

.video-card {
    min-width: 90%;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    scroll-snap-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

.video-wrapper iframe,
.video-wrapper>div {
    position: absolute;
    top: 0;
    left: 0;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 480px) {
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.resource-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0F0F0F 100%);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.resource-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #00EAFF;
    box-shadow: 0 8px 30px rgba(0, 234, 255, 0.25), 0 0 20px rgba(0, 234, 255, 0.15);
}

.resource-card.active {
    border-color: #00EAFF;
    box-shadow: 0 4px 25px rgba(0, 234, 255, 0.2);
    transform: scale(1.02);
}

.resource-card:active {
    transform: scale(0.97);
    transition-duration: 0.12s;
}

.resource-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

.resource-card:hover .resource-icon {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.6));
}

.resource-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.resource-desc {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 25px;
    line-height: 1.5;
    flex-grow: 1;
    min-height: 40px;
}

/* Buttons Container */
.card-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.btn-open {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: 2px solid #00EAFF;
    color: #00EAFF;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: var(--font-heading);
}

.btn-open:hover {
    background: #00EAFF;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.5);
    transform: translateY(-2px);
}

.btn-download {
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(135deg, #00EAFF 0%, #00B8D4 100%);
    border: 2px solid #00EAFF;
    color: #000;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(0, 234, 255, 0.3);
}

.btn-download:hover {
    background: linear-gradient(135deg, #4dffff 0%, #00EAFF 100%);
    border-color: #4dffff;
    box-shadow: 0 6px 25px rgba(0, 234, 255, 0.6);
    transform: translateY(-2px);
}

.btn-open:active,
.btn-download:active {
    transform: scale(0.97);
}

/* Continue Watching Items */
.continue-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.continue-item {
    display: flex;
    gap: 15px;
    background: #111;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #222;
    align-items: center;
    transition: 0.3s;
    cursor: pointer;
}

.continue-item:hover {
    border-color: var(--primary);
}

.continue-thumb {
    width: 120px;
    height: 70px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.continue-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.continue-info {
    flex: 1;
    overflow: hidden;
}

.continue-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.progress-bar {
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    box-shadow: 0 0 10px var(--primary);
}

.check-icon {
    color: #333;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.check-icon.completed {
    color: var(--primary);
}

/* Settings */
.settings-group {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.setting-item {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.setting-label {
    font-size: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 5px;
    padding: 10px;
    transition: 0.3s;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (min-width: 768px) {

    .app-container,
    .bottom-nav {
        max-width: 480px;
        margin: 0 auto;
    }

    .app-container {
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .bottom-nav {
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    cursor: pointer;
}

.continue-item:hover {
    border-color: var(--primary);
}

.continue-thumb {
    width: 120px;
    height: 70px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.continue-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.continue-info {
    flex: 1;
    overflow: hidden;
}

.continue-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.progress-bar {
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    box-shadow: 0 0 10px var(--primary);
}

.check-icon {
    color: #333;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.check-icon.completed {
    color: var(--primary);
}

/* Settings */
.settings-group {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.setting-item {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.setting-label {
    font-size: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 5px;
    padding: 10px;
    transition: 0.3s;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (min-width: 768px) {

    .app-container,
    .bottom-nav {
        max-width: 480px;
        margin: 0 auto;
    }

    .app-container {
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .bottom-nav {
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .video-card {
        min-width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Action Buttons */
.btn-action {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-action:hover {
    background: #4dffff;
    box-shadow: 0 6px 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

.btn-action:active {
    transform: scale(0.97);
}

.btn-logout {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: 20px;
}

.btn-logout:hover {
    background: rgba(255, 77, 77, 0.1);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
    transform: translateY(-2px);
}

.btn-logout:active {
    transform: scale(0.97);
}

/* Video Card Styles */
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-number {
    width: 24px;
    height: 24px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.topic-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 5px;
    padding: 10px;
    transition: 0.3s;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (min-width: 768px) {

    .app-container,
    .bottom-nav {
        max-width: 480px;
        margin: 0 auto;
    }

    .app-container {
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .bottom-nav {
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .video-card {
        min-width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Action Buttons */
.btn-action {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-action:hover {
    background: #4dffff;
    box-shadow: 0 6px 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

.btn-action:active {
    transform: scale(0.97);
}

.btn-logout {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: 20px;
}

.btn-logout:hover {
    background: rgba(255, 77, 77, 0.1);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
    transform: translateY(-2px);
}

``` .btn-logout:active {
    transform: scale(0.97);
}

/* Video Card Styles */
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-number {
    width: 24px;
    height: 24px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.topic-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 5px;
    padding: 10px;
    transition: 0.3s;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (min-width: 768px) {

    .app-container,
    .bottom-nav {
        max-width: 480px;
        margin: 0 auto;
    }

    .app-container {
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .bottom-nav {
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .video-card {
        min-width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Action Buttons */
.btn-action {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-action:hover {
    background: #4dffff;
    box-shadow: 0 6px 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

.btn-action:active {
    transform: scale(0.97);
}

.btn-logout {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: 20px;
}

.btn-logout:hover {
    background: rgba(255, 77, 77, 0.1);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
    transform: translateY(-2px);
}

.btn-logout:active {
    transform: scale(0.97);
}

/* Video Card Styles */
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-number {
    width: 24px;
    height: 24px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.topic-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 5px;
    padding: 10px;
    transition: 0.3s;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (min-width: 768px) {

    .app-container,
    .bottom-nav {
        max-width: 480px;
        margin: 0 auto;
    }

    .app-container {
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .bottom-nav {
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .video-card {
        min-width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Action Buttons */
.btn-action {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-action:hover {
    background: #4dffff;
    box-shadow: 0 6px 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

.btn-action:active {
    transform: scale(0.97);
}

.btn-logout {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: 20px;
}

.btn-logout:hover {
    background: rgba(255, 77, 77, 0.1);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
    transform: translateY(-2px);
}

.btn-logout:active {
    transform: scale(0.97);
}

/* Video Card Styles */
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-number {
    width: 24px;
    height: 24px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.topic-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 5px;
    padding: 10px;
    transition: 0.3s;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (min-width: 768px) {

    .app-container,
    .bottom-nav {
        max-width: 480px;
        margin: 0 auto;
    }

    .app-container {
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .bottom-nav {
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid #333;
        border-right: 1px solid #333;
    }

    .video-card {
        min-width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Action Buttons */
.btn-action {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-action:hover {
    background: #4dffff;
    box-shadow: 0 6px 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

.btn-action:active {
    transform: scale(0.97);
}

.btn-logout {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-top: 20px;
}

.btn-logout:hover {
    background: rgba(255, 77, 77, 0.1);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
    transform: translateY(-2px);
}

.btn-logout:active {
    transform: scale(0.97);
}

/* Video Card Styles */
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topic-item:last-child {
    border-bottom: none;
}

/* ===== LOGIN SCREEN STYLES (FINAL REFINED) ===== */
.login-screen {
    background: #000 !important;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.login-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: auto 0;
}

/* Logo Styling */
.login-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00f3ff 0%, #00B8D4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(0, 243, 255, 0.6);
    flex-shrink: 0;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out;
}

.login-logo i {
    width: 50px;
    height: 50px;
    color: #000;
}

/* Brand Styling */
.login-brand {
    text-align: center;
}

.login-brand h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-brand .subtitle {
    font-size: 1rem;
    color: #a0a0a0;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.premium-text {
    color: #00E5FF;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-brand .tagline {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Card Styling */
.login-card {
    background: #0a0a0a !important;
    border: 1px solid #1f1f1f;
    border-radius: 20px;
    padding: 35px 25px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.login-card h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    text-align: center;
    margin: 0 0 30px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
    padding-left: 2px;
}

/* Input Styling - Fixed Alignment */
.input-field {
    position: relative;
    width: 100%;
}

.input-field i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #666;
    z-index: 2;
    pointer-events: none;
    /* Garante que o clique vá para o input */
}

.input-field input {
    width: 100%;
    height: 50px;
    background: #141414 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 10px;
    padding: 0 15px 0 34px;
    /* Espaço exato para o ícone */
    color: #fff !important;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

/* Autofill Fix */
.input-field input:-webkit-autofill,
.input-field input:-webkit-autofill:hover,
.input-field input:-webkit-autofill:focus,
.input-field input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #141414 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.input-field input:focus {
    border-color: #00f3ff !important;
    background: #1a1a1a !important;
    box-shadow: 0 0 0 2px rgba(0, 243, 255, 0.15);
}

.eye-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
    transition: 0.3s;
    z-index: 3;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.eye-toggle:hover {
    color: #00f3ff;
}

/* Button Styling */
.btn-login {
    width: 100%;
    height: 54px;
    background: #00f3ff !important;
    color: #000 !important;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
}

.btn-login:hover {
    background: #4dffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 35px rgba(0, 243, 255, 0.6);
}

/* Footer & Credentials */
.credentials-info {
    background: #0f1214 !important;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    width: 100%;
}

.cred-header {
    color: #666;
    font-size: 0.75rem;
    margin: 0 0 12px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cred-item {
    color: #ccc;
    font-size: 0.9rem;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cred-label {
    color: #00f3ff;
    font-weight: 600;
}

.btn-autofill {
    width: 100%;
    background: transparent !important;
    border: 1px solid #00f3ff !important;
    color: #00f3ff !important;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.btn-autofill:hover {
    background: rgba(0, 243, 255, 0.1) !important;
}

.help-text {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #666;
}

.help-text a {
    color: #00f3ff;
    text-decoration: none;
    font-weight: 500;
}

.login-footer {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 20px;
}

.login-footer i {
    flex-shrink: 0;
    color: #00f3ff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .login-screen {
        padding: 20px 15px 50px;
        display: block;
    }

    .login-container {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .login-logo {
        width: 100px;
        height: 100px;
        margin: 0 auto 20px;
    }

    .login-brand h1 {
        font-size: 1.6rem;
    }

    .login-card {
        padding: 25px 20px;
    }
}

/* End of Login Styles */

/* Carousel Dots Update */
.dot {
    background-color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #00f3ff;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
    transform: scale(1.2);
}