/* ========================================
   Apple.com Inspired Design System
   ======================================== */

/* Typography - San Francisco Font Family */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, sans-serif !important;
    background-color: #f5f5f7 !important;
    color: #1d1d1f !important;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    color: #1d1d1f !important;
}

h1 {
    font-size: 48px !important;
    line-height: 1.1 !important;
    margin-bottom: 20px;
}

h2 {
    font-size: 32px !important;
    line-height: 1.2 !important;
}

/* Layout */
main > .container {
    padding: 70px 30px 40px;
    max-width: 1200px;
}

.wrap {
    min-height: 100%;
    background-color: #f5f5f7 !important;
}

.wrap > .container {
    background-color: transparent !important;
}

/* Navigation Bar - Apple Style */
.navbar,
.apple-navbar,
.navbar-light {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.navbar-inverse,
.navbar-dark,
.bg-dark {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-brand {
    font-weight: 600 !important;
    color: #1d1d1f !important;
    font-size: 18px !important;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-nav > li > a,
.navbar-nav .nav-link {
    color: #1d1d1f !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 8px 16px !important;
    transition: opacity 0.3s ease !important;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-nav > li > a:hover,
.navbar-nav .nav-link:hover {
    opacity: 0.7 !important;
    background-color: transparent !important;
}

/* Buttons - Apple Rounded Style */
.btn {
    border-radius: 20px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.btn-success {
    background-color: #0071e3 !important;
    color: #ffffff !important;
    border-color: #0071e3 !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #0077ed !important;
    border-color: #0077ed !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
}

.btn-primary {
    background-color: #0071e3 !important;
    color: #ffffff !important;
    border-color: #0071e3 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0077ed !important;
    border-color: #0077ed !important;
}

.btn-danger {
    background-color: #ff3b30 !important;
    color: #ffffff !important;
    border-color: #ff3b30 !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #ff453a !important;
    border-color: #ff453a !important;
}

.btn-secondary {
    background-color: #f5f5f7 !important;
    color: #1d1d1f !important;
    border: 1px solid #d2d2d7 !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #e8e8ed !important;
}

/* Cards & Sections */
.page-header {
    background-color: #ffffff !important;
    padding: 30px 40px !important;
    border-radius: 18px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.page-header h1 {
    margin: 0 !important;
    font-size: 40px !important;
}

/* Forms - Clean Apple Style */
.form-section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    border: 1px solid #d2d2d7 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    background-color: #ffffff !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1) !important;
    outline: none !important;
}

textarea.form-control {
    resize: vertical !important;
}

.form-actions {
    background-color: #ffffff !important;
    padding: 20px 40px !important;
    border-radius: 18px !important;
    display: flex !important;
    gap: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Tables - Clean Design */
.table,
.table-apple,
.grid-view table,
table.table {
    background-color: #ffffff !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
}

.table thead,
.table-apple thead,
.grid-view thead,
table.table thead {
    background-color: #f5f5f7 !important;
}

.table thead th,
.table-apple thead th,
.grid-view thead th,
table.table thead th {
    border-bottom: 1px solid #d2d2d7 !important;
    padding: 16px 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #6e6e73 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-top: none !important;
}

.table tbody td,
.table-apple tbody td,
.grid-view tbody td,
table.table tbody td {
    padding: 20px !important;
    border-bottom: 1px solid #f5f5f7 !important;
    vertical-align: middle !important;
    border-top: none !important;
}

.table tbody tr:last-child td,
.table-apple tbody tr:last-child td,
.grid-view tbody tr:last-child td,
table.table tbody tr:last-child td {
    border-bottom: none !important;
}

.table tbody tr:hover,
.table-apple tbody tr:hover,
.grid-view tbody tr:hover,
table.table tbody tr:hover {
    background-color: #fafafa !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent !important;
}

/* Detail View */
.detail-view {
    background-color: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-view th {
    background-color: #f5f5f7;
    padding: 16px 20px;
    font-weight: 500;
    width: 200px;
    color: #6e6e73;
}

.detail-view td {
    padding: 16px 20px;
}

/* Action Buttons Group */
.action-buttons {
    display: flex;
    gap: 12px;
}

/* Book Cover Images */
.book-cover {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 18px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cover-image {
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.current-cover {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f5f5f7;
    border-radius: 12px;
}

.current-cover label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.current-cover img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Grid View Icons */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #0071e3;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #0071e3;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

/* Flash Messages */
.alert {
    border-radius: 12px;
    border: none;
    padding: 16px 20px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.alert-success {
    background-color: #d1f4e0;
    color: #0a6e31;
}

.alert-danger {
    background-color: #ffeaee;
    color: #c7254e;
}

.alert-info {
    background-color: #d6f1ff;
    color: #014361;
}

/* Footer */
.footer {
    background-color: #f5f5f7;
    font-size: 14px;
    padding: 30px 0;
    border-top: 1px solid #d2d2d7;
    color: #6e6e73;
}

.footer > .container {
    padding-right: 30px;
    padding-left: 30px;
}

/* Utilities */
.not-set {
    color: #c55;
    font-style: italic;
}

.text-muted {
    color: #6e6e73 !important;
}

.hint-block {
    display: block;
    margin-top: 8px;
    color: #6e6e73;
    font-size: 13px;
}

.error-summary {
    color: #c7254e;
    background: #ffeaee;
    border-left: 3px solid #ff3b30;
    padding: 16px 20px;
    margin: 0 0 20px 0;
    border-radius: 12px;
}

.has-error .help-block {
    color: #ff3b30;
}

.has-error .form-control {
    border-color: #ff3b30;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6e6e73;
}

.breadcrumb-item a {
    color: #0071e3;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    opacity: 0.7;
}

/* Navbar Logout Button */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(29, 29, 31, 0.7);
    background: none;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    h1 {
        font-size: 32px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    opacity: 0.7;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
/* ========================================
   Book Gallery - Minimalist Grid
   ======================================== */

/* ========================================
   Hero Section - Premium Landing
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 5% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 72px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.03em !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.gradient-text {
    background: linear-gradient(90deg, #ffd89b 0%, #19547b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

@med    border-radius: 0 0 32px 32px;
        margin-bottom: 40px;
    ia (max-width: 768px) {
    .hero-section {
        padding: 80px 5% 60px;
    }
    
    .hero-title {
        font-size: 48px !important;
    }
    
    .hero-description {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
        border-radius: 0 0 24px 24px;
        margin-bottom: 30px;
    .hero-section {
        padding: 60px 5% 40px;
    }
    
    .hero-title {
        font-size: 36px !important;
    }
    
    .hero-description {
        font-size: 16px;
    }
}

/* ========================================
   Book Gallery - Enhanced Premium Design
   ======================================== */

.book-gallery-wrapper {
    padding: 0;
    margin: 0;
    background-color: #f5f5f7;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 170px);
    gap: 24px;
    padding: 40px 5%;
    background-color: #f5f5f7;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

.book-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-card-link:hover {
    text-decoration: none;
}

.book-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.15, 0, 0.5, 1);
    display: block;
    padding: 0;
    margin: 0;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.book-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    transition: all 0.5s cubic-bezier(0.15, 0, 0.5, 1);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.book-card:hover .book-cover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.book-cover-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    font-size: 11px;
    margin: 0;
    padding: 0;
    border: none;
}

.book-info {
    padding: 12px;
    margin: 0;
    text-align: left;
}

.book-title {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 6px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.book-author {
    font-size: 12px;
    color: #6e6e73;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.book-price {
    font-size: 15px;
    color: #0071e3;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.empty-gallery {
    text-align: center;
    padding: 120px 20px;
    color: #86868b;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 24px;
    opacity: 0.8;
}

.empty-gallery h3 {
    font-size: 28px !important;
    color: #1d1d1f !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
}

.empty-gallery p {
    font-size: 17px;
    color: #86868b;
    margin: 0;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, 160px);
        gap: 20px;
        padding: 30px 4%;
    }
}

@media (max-width: 768px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, 140px);
        gap: 16px;
        padding: 20px 3%;
    }
    
    .book-title {
        font-size: 13px;
        min-height: 32px;
    }
    
    .book-author {
        font-size: 11px;
    }
    
    .book-price {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, 140px);
        gap: 12px;
        padding: 16px 12px;
    }
}

/* ========================================
   Book Detail Page - Apple Minimalist Style
   ======================================== */

.book-detail-wrapper {
    background-color: #f5f5f7;
    min-height: 100vh;
    padding: 60px 5%;
}

.back-link-container {
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #0066cc !important;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.7;
    text-decoration: none !important;
}

.book-detail-container {
    display: flex;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.detail-image-section {
    flex: 0 0 450px;
}

.detail-cover {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.no-cover-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
}

.detail-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.5px;
}

.detail-author {
    font-size: 24px;
    color: #86868b;
    margin: 0 0 30px 0;
    font-weight: 400;
}

.detail-price {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 40px 0;
}

/* Apple Style Purchase Button */
.purchase-button-container {
    margin: 30px 0 40px 0;
}

.btn-purchase {
    display: inline-block;
    padding: 16px 40px;
    background: #0071e3;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
    border: none;
    cursor: pointer;
}

.btn-purchase:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.btn-purchase:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.detail-description {
    margin-bottom: 50px;
}

.detail-description h3 {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 15px 0;
}

.detail-description p {
    font-size: 18px;
    line-height: 1.6;
    color: #424245;
    margin: 0;
}

.detail-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
}

.btn-action {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.15, 0, 0.5, 1);
    border: none;
    cursor: pointer;
}

.btn-edit {
    background-color: #0071e3;
    color: #ffffff !important;
}

.btn-edit:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.btn-delete {
    background-color: #ffffff;
    color: #d70015 !important;
    border: 2px solid #d70015;
}

.btn-delete:hover {
    background-color: #d70015;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215, 0, 21, 0.3);
}

/* Responsive Design for Detail Page */
@media (max-width: 968px) {
    .book-detail-container {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }
    
    .detail-image-section {
        flex: 0 0 auto;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .detail-title {
        font-size: 36px !important;
    }
    
    .detail-author {
        font-size: 20px;
    }
    
    .detail-price {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .book-detail-wrapper {
        padding: 30px 3%;
    }
    
    .book-detail-container {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .detail-image-section {
        max-width: 100%;
    }
    
    .detail-title {
        font-size: 28px !important;
    }
    
    .detail-author {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .detail-price {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .detail-description h3 {
        font-size: 18px;
    }
    
    .detail-description p {
        font-size: 16px;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   Login Page - Apple.com Style
   ======================================== */

.login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: transparent;
    padding: 20px;
    z-index: 1;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    padding: 40px 50px;
    width: 100%;
    max-width: 440px;
    animation: fadeInUp 0.5s ease-out;
}

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

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.03em;
}

.login-header p {
    font-size: 17px;
    color: #86868b;
    margin: 0;
    font-weight: 400;
}

/* Form Fields */
.login-form .form-group {
    margin-bottom: 20px;
}

.login-label {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 8px;
    display: block;
    letter-spacing: -0.01em;
}

.login-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    background-color: #f5f5f7;
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1d1d1f;
}

.login-input::placeholder {
    color: #86868b;
    font-size: 15px;
}

.login-input:focus {
    background-color: #ffffff;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.login-input.is-invalid {
    border-color: #ff3b30;
    background-color: #fff5f5;
}

/* Error Messages */
.login-error {
    color: #ff3b30;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-weight: 400;
}

/* Checkbox */
.login-checkbox {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.login-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid #d2d2d7;
    outline: none;
    transition: all 0.2s;
}

.login-checkbox input[type="checkbox"]:checked {
    background-color: #0071e3;
    border-color: #0071e3;
}

.login-checkbox-label {
    font-size: 14px;
    color: #1d1d1f;
    cursor: pointer;
    user-select: none;
}

/* Login Button */
.login-actions {
    margin-top: 30px;
}

.login-button {
    width: 100%;
    padding: 14px 30px;
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    background: #0071e3;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
}

.login-button:hover {
    background: #0077ed;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

/* Responsive Design */
@media (max-width: 576px) {
    .login-card {
        padding: 40px 30px;
        border-radius: 16px;
    }
    
    .login-header h1 {
        font-size: 28px !important;
    }
    
    .login-header p {
        font-size: 15px;
    }
    
    .login-input {
        font-size: 16px;
        padding: 12px 14px;
    }
    
    .login-button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* ========================================
   Apple-Style Header & Footer - Production Ready
   ======================================== */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header - Glassmorphism Apple Style */
.apple-navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    padding: 12px 0 !important;
    min-height: 52px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-navbar .navbar-brand {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    letter-spacing: -0.02em;
}

.apple-navbar .navbar-nav {
    align-items: center;
}

.apple-navbar .nav-link {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #1d1d1f !important;
    padding: 8px 16px !important;
    letter-spacing: -0.01em;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.apple-navbar .nav-link:hover {
    color: #0071e3 !important;
    opacity: 0.8;
}

.apple-navbar .nav-link.active {
    color: #0071e3 !important;
}

/* Logout Button in Navbar */
.apple-navbar .logout {
    font-size: 14px !important;
    padding: 8px 16px !important;
    color: #1d1d1f !important;
    text-decoration: none;
    background: transparent !important;
    border: none !important;
}

.apple-navbar .logout:hover {
    color: #0071e3 !important;
}

/* Main Content Spacing */
#main {
    padding-top: 80px;
    min-height: calc(100vh - 140px);
}

/* Footer - Professional Apple Style */
.apple-footer {
    background: #f5f5f7;
    border-top: 1px solid #d2d2d7;
    padding: 30px 0;
    margin-top: 60px;
}

.apple-footer .footer-content {
    text-align: center;
}

.apple-footer p {
    margin: 0;
    font-size: 12px;
    color: #86868b;
    letter-spacing: -0.01em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .apple-navbar {
        padding: 8px 0 !important;
    }
    
    .apple-navbar .navbar-brand {
        font-size: 18px !important;
    }
    
    .apple-navbar .nav-link {
        font-size: 16px !important;
        padding: 12px 16px !important;
    }
    
    #main {
        padding-top: 70px;
    }
}

/* ========================================
   Landing Page - Apple Minimalist Style
   ======================================== */

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 50%, #ffffff 100%);
}

/* Gradient Background */
.landing-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 113, 227, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(156, 39, 176, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 87, 34, 0.04) 0%, transparent 50%);
    filter: blur(80px);
    z-index: 0;
}

/* Content Container */
.landing-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.landing-hero {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.landing-title {
    font-size: 64px !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    color: #1d1d1f !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
    background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-sub {
    font-size: 24px;
    color: #86868b;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.5;
    font-weight: 400;
}

/* CTA Button */
.landing-cta {
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    background: #0071e3;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

.cta-button:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.4);
    color: #fff !important;
}

.cta-button:active {
    transform: translateY(0);
}

/* Book Preview */
.landing-book-preview {
    margin-top: 40px;
    max-width: 400px;
}

.landing-book-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 10px 20px -5px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-book-image:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Footer */
.landing-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 24px 0;
    text-align: center;
    z-index: 1;
}

.landing-footer p {
    color: #86868b;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-title {
        font-size: 40px !important;
    }
    
    .landing-sub {
        font-size: 18px;
        max-width: 90%;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 12px 28px;
    }
    
    .landing-book-image {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 32px !important;
    }
    
    .landing-sub {
        font-size: 16px;
    }
}
