/* ==========================================================================
   SkillUp CSS Stylesheet
   Design System: Orange & White Premium Theme + Custom Player Styling
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-orange: #FF6B00;
    --primary-orange-hover: #E05E00;
    --primary-orange-light: #FFF5EC;
    --primary-orange-glow: rgba(255, 107, 0, 0.15);
    --primary-orange-solid-glow: rgba(255, 107, 0, 0.4);
    
    --white: #FFFFFF;
    --white-translucent: rgba(255, 255, 255, 0.7);
    --bg-light: #FAFAFB;
    
    --text-dark: #1E2022;
    --text-medium: #4A5056;
    --text-light: #7E868F;
    
    --border-color: #ECEEF2;
    --border-hover: #D5DBE5;
    
    /* Layout & Shadows */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 25px 50px -12px rgba(255, 107, 0, 0.08);
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Decorative Background Blobs */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: var(--border-radius-full);
    filter: blur(140px);
    z-index: -1;
    opacity: 0.45;
    pointer-events: none;
    animation: float 20s infinite alternate;
}

.blob-1 {
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(255,107,0,0.4) 0%, rgba(255,255,255,0) 70%);
}

.blob-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, rgba(255,165,0,0.3) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.1); }
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 14px var(--primary-orange-glow);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.25);
}

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

.btn-secondary {
    background-color: var(--primary-orange-light);
    color: var(--primary-orange);
}

.btn-secondary:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
}

.btn-outline:hover {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Header Styling */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
}

.logo-icon {
    color: var(--primary-orange);
    display: flex;
    align-items: center;
}

.logo-text span {
    color: var(--primary-orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    padding: 6px 12px;
    border-radius: var(--border-radius-full);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-orange);
}

.nav-links a.active {
    background-color: var(--primary-orange-light);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 140px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    background-color: var(--primary-orange-light);
    color: var(--primary-orange);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.hero-title span {
    color: var(--primary-orange);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual Card (Mock Video Player) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.visual-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-premium);
}

.visual-card-header {
    background-color: #F8FAFC;
    padding: 12px 18px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: var(--border-radius-full);
}

.dot.red { background-color: #FF5F56; }
.dot.yellow { background-color: #FFBD2E; }
.dot.green { background-color: #27C93F; }

.visual-card-content {
    padding: 18px;
}

.visual-video-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: #000;
    border-radius: var(--border-radius-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Real preview video styling */
.hero-preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.play-button-mock {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    color: var(--primary-orange);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    z-index: 2; /* Sits on top of video */
}

.visual-card:hover .play-button-mock {
    transform: scale(1.1);
    background-color: var(--primary-orange-light);
}

.visual-card-info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#hero-visual-card {
    cursor: pointer;
    transition: var(--transition-normal);
}

#hero-visual-card:hover {
    transform: translateY(-8px) scale(1.02) rotate(0.5deg);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-premium);
}

.hero-preview-iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    border: none;
}

.visual-card-badge {
    align-self: flex-start;
    background-color: var(--primary-orange-light);
    color: var(--primary-orange);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.visual-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.visual-card-desc {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}

.mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-light);
    border-radius: var(--border-radius-full);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(8px); opacity: 0; }
}

/* Main Content Section */
.main-content {
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-orange);
    border-radius: var(--border-radius-full);
}

/* Search and Playlist Filters Toolbar */
.toolbar-section {
    margin-bottom: 48px;
}

.toolbar-wrapper {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 14px 20px;
    transition: var(--transition-normal);
}

.search-bar:focus-within {
    border-color: var(--primary-orange);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-orange-glow);
}

.search-icon {
    color: var(--text-light);
    display: flex;
    align-items: center;
    margin-right: 14px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1.05rem;
    color: var(--text-dark);
    width: 100%;
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: var(--border-radius-full);
    transition: var(--transition-fast);
}

.search-clear:hover {
    background-color: #E2E8F0;
    color: var(--text-dark);
}

.hidden {
    display: none !important;
}

/* Playlist Scroll tabs */
.playlists-container {
    overflow: hidden;
}

.playlists-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-hover) transparent;
}

.playlists-scroll::-webkit-scrollbar {
    height: 4px;
}

.playlists-scroll::-webkit-scrollbar-thumb {
    background-color: var(--border-hover);
    border-radius: var(--border-radius-full);
}

.playlist-tab {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-medium);
    padding: 10px 20px;
    border-radius: var(--border-radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-tab:hover {
    border-color: var(--primary-orange-solid-glow);
    background-color: var(--white);
    color: var(--primary-orange);
}

.playlist-tab.active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 10px var(--primary-orange-glow);
}

/* Video Grid and Cards */
.video-grid-section {
    min-height: 400px;
}

.grid-header {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-orange-solid-glow);
}

.card-thumbnail-container {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #E2E8F0;
    position: relative;
    overflow: hidden;
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-card:hover .card-thumbnail {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.video-card:hover .card-overlay {
    opacity: 1;
    background-color: rgba(255, 107, 0, 0.15);
}

.card-play-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    background-color: var(--white);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.video-card:hover .card-play-btn {
    transform: scale(1);
}

.card-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(15, 17, 20, 0.8);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.card-action-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-card:hover .card-action-text {
    color: var(--primary-orange-hover);
}

.card-action-text svg {
    transition: var(--transition-fast);
}

.video-card:hover .card-action-text svg {
    transform: translateX(4px);
}

/* Empty State Styling */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px dashed var(--border-hover);
    color: var(--text-light);
}

.empty-state svg {
    color: var(--primary-orange-glow);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 1rem;
    max-width: 400px;
}

/* Footer Section */
.main-footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
}

.footer-logo span {
    color: var(--primary-orange);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Modal Core Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 17, 20, 0.85);
    backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.modal.active .modal-wrapper {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--bg-light);
    border: none;
    color: var(--text-medium);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--primary-orange-light);
    color: var(--primary-orange);
    transform: rotate(90deg);
}

/* Video Player Modal Specific Styles */
.modal-video .modal-wrapper {
    max-width: 960px;
    overflow: hidden;
}

.modal-player-container {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    position: relative;
}

.modal-player-container video, 
.modal-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================================================
   Premium Custom Controls Bar
   ========================================================================== */
.custom-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
    padding: 16px 20px 12px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.custom-controls-bar.controls-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}

/* Timeline/Progress */
.player-progress-container {
    position: relative;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    margin-bottom: 14px;
    transition: height 0.15s ease;
}

.player-progress-container:hover {
    height: 8px;
}

.player-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--primary-orange);
    border-radius: var(--border-radius-full);
    position: relative;
    transition: width 0.1s linear;
}

/* Controls layout */
.player-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.player-controls-left, 
.player-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-control-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-full);
    transition: var(--transition-fast);
}

.player-control-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-orange);
    transform: scale(1.05);
}

.player-time-display {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* Volume Slider */
.player-volume-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    cursor: pointer;
}

.player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    background: var(--primary-orange);
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    transition: transform 0.1s ease;
}

.player-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Info Panel below player */
.modal-info-panel {
    padding: 30px;
    max-height: 45vh;
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
}

.modal-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.modal-badge-category {
    background-color: var(--primary-orange-light);
    color: var(--primary-orange);
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-badge-duration {
    background-color: var(--bg-light);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.modal-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-tab-btn:hover {
    color: var(--primary-orange);
}

.modal-tab-btn.active {
    color: var(--primary-orange);
    border-bottom-color: var(--primary-orange);
}

.modal-tab-content {
    display: none;
    line-height: 1.6;
    color: var(--text-medium);
}

.modal-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-list {
    padding-left: 20px;
}

.step-list li {
    margin-bottom: 12px;
    position: relative;
}

.step-list li::marker {
    color: var(--primary-orange);
    font-weight: 700;
}

/* Admin Form Modal Styles */
.modal-admin .modal-wrapper {
    max-width: 600px;
    padding: 40px;
}

.modal-admin h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 8px;
}

label .required {
    color: var(--primary-orange);
}

input[type="text"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: var(--bg-light);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-normal);
}

input[type="text"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-orange);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-orange-glow);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        gap: 30px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
    
    .hero-desc {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none;
    }

    #admin-grid-wrapper {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
    }
    
    .nav-links span {
        display: none;
    }
    
    .btn-icon {
        padding: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .toolbar-wrapper {
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-admin .modal-wrapper {
        padding: 24px;
    }
    
    .modal-info-panel {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
}
