/* ====== Notebooks Index - Start ====== */
.notebooks-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.04) 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.notebooks-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.notebooks-title {
    font-size: 2.5rem;
    font-weight: 300;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-align: center;
}

.notebooks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.notebooks-btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notebooks-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.notebooks-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.notebooks-btn-import {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.notebooks-btn-import:hover {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    text-decoration: none;
}

.notebooks-alert {
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid #22c55e;
    color: #065f46;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.notebooks-alert .btn-close {
    filter: none;
    opacity: 0.6;
}

.notebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.notebook-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.7) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.notebook-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.notebook-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.85) 100%);
}

.notebook-card:hover::before {
    transform: scaleX(1);
}

.notebook-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.notebook-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.notebook-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.notebook-open-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    margin-top: auto;
}

.notebook-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.notebooks-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 252, 0.4) 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 2px dashed rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.notebooks-empty::before {
    content: '📚';
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

.notebooks-empty-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.notebooks-empty-text {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.notebooks-empty-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.notebooks-empty-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .notebooks-header {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.6) 0%, rgba(26, 32, 44, 0.3) 100%);
}

[data-bs-theme="dark"] .notebooks-title {
    background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .notebooks-btn-import {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(34, 197, 94, 0.3);
}

[data-bs-theme="dark"] .notebooks-alert {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #6ee7b7;
}

[data-bs-theme="dark"] .notebook-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.9) 0%, rgba(26, 32, 44, 0.7) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .notebook-card:hover {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.85) 100%);
    box-shadow: 0 20px 60px rgba(144, 205, 244, 0.15);
}

[data-bs-theme="dark"] .notebook-title {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .notebook-description {
    color: #a0aec0;
}

[data-bs-theme="dark"] .notebooks-empty {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.6) 0%, rgba(26, 32, 44, 0.4) 100%);
    border-color: rgba(144, 205, 244, 0.2);
}

[data-bs-theme="dark"] .notebooks-empty-title {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .notebooks-empty-text {
    color: #a0aec0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .notebooks-header {
        padding: 1.5rem;
    }

    .notebooks-title {
        font-size: 2rem;
    }

    .notebooks-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .notebooks-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .notebook-card-body {
        padding: 1.5rem;
    }

    .notebooks-empty {
        padding: 3rem 1.5rem;
    }

    .notebooks-empty-title {
        font-size: 1.5rem;
    }
}
/* ====== Notebooks Index - End ====== */


/* ====== Notebooks Create - Start ====== */
.create-notebook-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.create-notebook-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.create-notebook-header {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    position: relative;
}

.create-notebook-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.create-notebook-title {
    font-size: 2.2rem;
    font-weight: 300;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.create-notebook-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

.create-notebook-form {
    padding: 2rem;
}

.create-form-group {
    margin-bottom: 2rem;
    position: relative;
}

.create-form-label {
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.create-form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    resize: vertical;
    min-height: 50px;
}

.create-form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.create-form-control::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.create-textarea {
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.create-validation-summary:empty {
    display: none;
}

.create-validation-summary {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #dc2626;
}

.create-validation-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
    display: block;
}

.create-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.create-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 140px;
    cursor: pointer;
}

.create-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.create-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.create-btn-primary:active {
    transform: translateY(-1px);
}

.create-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(107, 114, 128, 0.3);
    color: #6b7280;
}

.create-btn-secondary:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
    text-decoration: none;
}

.create-btn-secondary:active {
    transform: translateY(-1px);
}

.create-form-hint {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Input focus animations */
.create-form-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.02) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.create-form-control:focus ~ .create-form-group::before {
    opacity: 1;
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .create-notebook-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .create-notebook-header {
    background: linear-gradient(135deg, rgba(144, 205, 244, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
}

[data-bs-theme="dark"] .create-notebook-title {
    background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .create-notebook-subtitle {
    color: #a0aec0;
}

[data-bs-theme="dark"] .create-form-label {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .create-form-control {
    background: rgba(45, 55, 72, 0.8);
    border-color: rgba(144, 205, 244, 0.2);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .create-form-control:focus {
    border-color: #90cdf4;
    background: rgba(45, 55, 72, 1);
    box-shadow: 0 0 0 0.2rem rgba(144, 205, 244, 0.2);
}

[data-bs-theme="dark"] .create-form-control::placeholder {
    color: #6b7280;
}

[data-bs-theme="dark"] .create-btn-secondary {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(160, 174, 192, 0.3);
    color: #a0aec0;
}

[data-bs-theme="dark"] .create-btn-secondary:hover {
    background: #a0aec0;
    color: #1a202c;
    border-color: #a0aec0;
}

[data-bs-theme="dark"] .create-form-hint {
    color: #718096;
}

[data-bs-theme="dark"] .create-form-actions {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .create-notebook-container {
        padding: 1rem;
    }

    .create-notebook-form {
        padding: 1.5rem;
    }

    .create-notebook-title {
        font-size: 1.8rem;
    }

    .create-form-actions {
        flex-direction: column;
    }

    .create-btn {
        width: 100%;
    }
}
/* ====== Notebooks Create - End ====== */


/* ====== Notebooks Details - Header - Start ====== */
.notebook-details-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.04) 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.notebook-details-header,
.notebook-actions {
    overflow: visible !important;
    position: relative !important;
}

.notebook-details-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.notebook-info {
    flex: 1;
    min-width: 0;
}

.notebook-details-title {
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    word-break: break-word;
}

.notebook-details-description {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.notebook-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.notebook-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.notebook-action-btn {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
}

.notebook-action-btn,
.notebook-dropdown {
    width: 100%;
}

.notebook-btn-edit {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.notebook-btn-edit:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.notebook-btn-export {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.notebook-btn-export:hover {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.notebook-btn-delete {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.notebook-btn-delete:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.notebook-btn-back {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border: none;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.notebook-btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
    color: white;
    text-decoration: none;
}

.notebook-dropdown {
    position: relative;
    flex: 1;
}

.notebook-dropdown-menu {
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.notebook-dropdown-item {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notebook-dropdown-item:hover {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    text-decoration: none;
    transform: translateX(3px);
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .notebook-details-header {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.6) 0%, rgba(26, 32, 44, 0.3) 100%);
}

[data-bs-theme="dark"] .notebook-details-title {
    background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .notebook-details-description {
    color: #a0aec0;
}

[data-bs-theme="dark"] .notebook-btn-edit {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(144, 205, 244, 0.3);
    color: #90cdf4;
}

[data-bs-theme="dark"] .notebook-btn-edit:hover {
    background: #90cdf4;
    color: #1a202c;
    border-color: #90cdf4;
}

[data-bs-theme="dark"] .notebook-btn-export {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(34, 197, 94, 0.3);
}

[data-bs-theme="dark"] .notebook-btn-delete {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(239, 68, 68, 0.3);
}

[data-bs-theme="dark"] .notebook-dropdown-menu {
    background: rgba(45, 55, 72, 0.95);
}

[data-bs-theme="dark"] .notebook-dropdown-item {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .notebook-dropdown-item:hover {
    background: rgba(34, 197, 94, 0.2);
    color: #6ee7b7;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .notebook-details-header {
        padding: 1.5rem;
    }

    .notebook-details-title {
        font-size: 1.8rem;
    }

    .notebook-actions-row {
        flex-direction: column;
    }

    .notebook-action-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .notebook-actions {
        gap: 0.6rem;
    }

    .notebook-action-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}
/* ====== Notebooks Details - Header - End ====== */

/* ====== Notebooks Details - Entries Section - Start ====== */
.notebook-alert {
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid #22c55e;
    color: #065f46;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.notebook-alert .btn-close {
    filter: none;
    opacity: 0.6;
}

.entries-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 252, 0.4) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.entries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.entries-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.entries-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entries-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.entries-add-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.entries-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: white;
    text-decoration: none;
}

.entries-grid {
    display: grid;
    gap: 1.5rem;
}

.entry-card {
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.7) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.entry-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.entry-card:hover {
    transform: translateY(-5px) translateX(3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.85) 100%);
}

.entry-card:hover::before {
    transform: scaleY(1);
}

.entry-card-body {
    padding: 1.8rem;
}

.entry-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #9ca3af;  /* Daha sönük gri */
    margin-bottom: 0.75rem;
    line-height: 1.3;
    opacity: 0.8;  /* Hafif şeffaf */
}

.entry-content {
    color: #1f2937;  /* Koyu, belirgin renk */
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;  /* Daha büyük font */
    font-weight: 500;  /* Hafif kalın */
    max-height: 120px;  /* Biraz daha yüksek */
    overflow: hidden;
    position: relative;
    letter-spacing: 0.01em;  /* Hafif karakter aralığı */
}

.entry-meta {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.entry-meta::before {
    content: '🕐';
    font-size: 0.8rem;
}

.entry-actions {
    display: flex;
    gap: 0.8rem;
}

.entry-action-btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.entry-btn-view {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.entry-btn-view:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    text-decoration: none;
    transform: translateY(-1px);
}

.entry-btn-edit {
    background: rgba(107, 114, 128, 0.1);
    border: 2px solid rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.entry-btn-edit:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    text-decoration: none;
    transform: translateY(-1px);
}

.entries-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 252, 0.4) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px dashed rgba(102, 126, 234, 0.2);
    position: relative;
}

.entries-empty::before {
    content: '📝';
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

.entries-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.entries-empty-text {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.entries-empty-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.entries-empty-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
    color: white;
    text-decoration: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .notebook-alert {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #6ee7b7;
}

[data-bs-theme="dark"] .entries-section {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.6) 0%, rgba(26, 32, 44, 0.4) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .entries-title {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .entries-header {
    border-bottom-color: rgba(144, 205, 244, 0.2);
}

[data-bs-theme="dark"] .entry-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.9) 0%, rgba(26, 32, 44, 0.7) 100%);
}

[data-bs-theme="dark"] .entry-card:hover {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.85) 100%);
    box-shadow: 0 12px 40px rgba(144, 205, 244, 0.15);
}

[data-bs-theme="dark"] .entry-title {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .entry-content {
    color: #a0aec0;
}

[data-bs-theme="dark"] .entry-meta {
    color: #718096;
}

[data-bs-theme="dark"] .entries-empty {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.6) 0%, rgba(26, 32, 44, 0.4) 100%);
    border-color: rgba(144, 205, 244, 0.2);
}

[data-bs-theme="dark"] .entries-empty-title {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .entries-empty-text {
    color: #a0aec0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .entries-section {
        padding: 1.5rem;
    }

    .entries-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .entries-title {
        font-size: 1.5rem;
        justify-content: center;
    }

    .entries-add-btn {
        width: 100%;
        justify-content: center;
    }

    .entry-actions {
        flex-direction: column;
    }

    .entries-empty {
        padding: 3rem 1.5rem;
    }
}
/* ====== Notebooks Details - Entries Section - End ====== */


/* ====== Notebooks Details - Delete Modal - Start ====== */
.delete-modal .modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

.delete-modal .modal-content {
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.delete-modal-header {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-bottom: none;
    padding: 2rem 2rem 1rem 2rem;
    position: relative;
    text-align: center;
}

.delete-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    border-radius: 2px;
}

.delete-modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.delete-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.delete-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
    opacity: 1;
}

.delete-modal-body {
    padding: 1.5rem 2rem;
    text-align: center;
}

.delete-modal-question {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.delete-modal-notebook-name {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.delete-modal-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: #991b1b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.delete-modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.delete-modal-btn {
    padding: 0.8rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.delete-modal-btn-cancel {
    background: rgba(107, 114, 128, 0.1);
    border: 2px solid rgba(107, 114, 128, 0.3);
    color: #6b7280;
}

.delete-modal-btn-cancel:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
}

.delete-modal-btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.delete-modal-btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.delete-modal-btn-delete:active {
    transform: translateY(0);
}

.delete-form {
    display: inline-block;
    margin: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .delete-modal .modal-content {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.9) 100%);
}

[data-bs-theme="dark"] .delete-modal-header {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
}

[data-bs-theme="dark"] .delete-modal-title {
    background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .delete-modal-close {
    background: rgba(239, 68, 68, 0.2);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .delete-modal-question {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .delete-modal-notebook-name {
    background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .delete-modal-warning {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

[data-bs-theme="dark"] .delete-modal-btn-cancel {
    background: rgba(45, 55, 72, 0.8);
    border-color: rgba(160, 174, 192, 0.3);
    color: #a0aec0;
}

[data-bs-theme="dark"] .delete-modal-btn-cancel:hover {
    background: #a0aec0;
    color: #1a202c;
    border-color: #a0aec0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .delete-modal .modal-dialog {
        margin: 1rem;
        max-width: none;
    }

    .delete-modal-header,
    .delete-modal-body,
    .delete-modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .delete-modal-footer {
        flex-direction: column;
    }

    .delete-modal-btn {
        width: 100%;
    }
}
/* ====== Notebooks Details - Delete Modal - End ====== */


/* ====== Notebooks Edit - Start ====== */
.edit-notebook-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.edit-notebook-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.edit-notebook-header {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    position: relative;
}

.edit-notebook-header::before {
    content: '✏️';
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: editFloat 2s ease-in-out infinite;
}

.edit-notebook-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    border-radius: 2px;
}

.edit-notebook-title {
    font-size: 2.2rem;
    font-weight: 300;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.edit-notebook-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

.edit-notebook-form {
    padding: 2rem;
}

.edit-form-group {
    margin-bottom: 2rem;
    position: relative;
}

.edit-form-label {
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.edit-form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(251, 191, 36, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    resize: vertical;
    min-height: 50px;
}

.edit-form-control:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.2);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.edit-form-control::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.edit-textarea {
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.edit-validation-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
    display: block;
}

.edit-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.notebook-edit-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 140px;
    cursor: pointer;
    border: none;
}

.notebook-edit-btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.notebook-edit-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.notebook-edit-btn-primary:active {
    transform: translateY(-1px);
}

.notebook-edit-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(107, 114, 128, 0.3);
    color: #6b7280;
}

.notebook-edit-btn-secondary:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
    text-decoration: none;
}

.notebook-edit-btn-secondary:active {
    transform: translateY(-1px);
}

.edit-form-hint {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Focus glow effect */
.edit-form-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(217, 119, 6, 0.02) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.edit-form-control:focus ~ .edit-form-group::before {
    opacity: 1;
}

@keyframes editFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .edit-notebook-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .edit-notebook-header {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
}

[data-bs-theme="dark"] .edit-notebook-title {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .edit-notebook-subtitle {
    color: #a0aec0;
}

[data-bs-theme="dark"] .edit-form-label {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .edit-form-control {
    background: rgba(45, 55, 72, 0.8);
    border-color: rgba(251, 191, 36, 0.2);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .edit-form-control:focus {
    border-color: #fbbf24;
    background: rgba(45, 55, 72, 1);
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.2);
}

[data-bs-theme="dark"] .edit-form-control::placeholder {
    color: #6b7280;
}

[data-bs-theme="dark"] .notebook-edit-btn-secondary {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(160, 174, 192, 0.3);
    color: #a0aec0;
}

[data-bs-theme="dark"] .notebook-edit-btn-secondary:hover {
    background: #a0aec0;
    color: #1a202c;
    border-color: #a0aec0;
}

[data-bs-theme="dark"] .edit-form-hint {
    color: #718096;
}

[data-bs-theme="dark"] .edit-form-actions {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .edit-notebook-container {
        padding: 1rem;
    }

    .edit-notebook-form {
        padding: 1.5rem;
    }

    .edit-notebook-title {
        font-size: 1.8rem;
    }

    .edit-form-actions {
        flex-direction: column;
    }

    .notebook-edit-btn {
        width: 100%;
    }
}
/* ====== Notebooks Edit - End ====== */


/* ====== Notebooks Import - Start ====== */
.notebook-import-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.notebook-import-header {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.notebook-import-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #10b981 100%);
}

.notebook-import-title {
    font-size: 2.5rem;
    font-weight: 300;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}

.notebook-import-subtitle {
    color: #6b7280;
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}

.notebook-import-form-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    margin-bottom: 2rem;
}

.notebook-import-form-group {
    margin-bottom: 2rem;
}

.notebook-import-form-label {
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.notebook-import-file-input {
    width: 100%;
    padding: 1.5rem;
    border: 2px dashed rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    background: rgba(34, 197, 94, 0.05);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    cursor: pointer;
}

.notebook-import-file-input:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.notebook-import-file-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.1);
}

.notebook-import-validation-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
    display: block;
}

.notebook-import-form-text {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    line-height: 1.5;
    background: rgba(34, 197, 94, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #22c55e;
}

.notebook-import-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.notebook-import-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 160px;
    cursor: pointer;
    border: none;
}

.notebook-import-btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.notebook-import-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
    color: white;
    text-decoration: none;
}

.notebook-import-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(107, 114, 128, 0.3);
    color: #6b7280;
}

.notebook-import-btn-secondary:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
    text-decoration: none;
}

.notebook-import-tips-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.notebook-import-tips-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notebook-import-tips-body {
    padding: 1.5rem;
}

.notebook-import-tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notebook-import-tips-item {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #374151;
    line-height: 1.5;
}

.notebook-import-tips-item::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 0;
}

.notebook-import-tips-highlight {
    font-weight: 600;
    color: #3b82f6;
}

.notebook-import-example-card {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1) 0%, rgba(107, 114, 128, 0.05) 100%);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(156, 163, 175, 0.2);
    overflow: hidden;
}

.notebook-import-example-header {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notebook-import-example-body {
    padding: 1.5rem;
}

.notebook-import-example-code {
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
    white-space: pre-wrap;
    margin: 0;
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .notebook-import-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
}

[data-bs-theme="dark"] .notebook-import-title {
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .notebook-import-subtitle {
    color: #a0aec0;
}

[data-bs-theme="dark"] .notebook-import-form-section {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .notebook-import-form-label {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .notebook-import-file-input {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .notebook-import-form-text {
    background: rgba(34, 197, 94, 0.1);
    color: #a0aec0;
}

[data-bs-theme="dark"] .notebook-import-tips-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
}

[data-bs-theme="dark"] .notebook-import-tips-item {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .notebook-import-example-card {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.6) 0%, rgba(26, 32, 44, 0.4) 100%);
}

[data-bs-theme="dark"] .notebook-import-example-code {
    background: rgba(45, 55, 72, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: #a0aec0;
}

[data-bs-theme="dark"] .notebook-import-btn-secondary {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(160, 174, 192, 0.3);
    color: #a0aec0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .notebook-import-container {
        padding: 1rem;
    }

    .notebook-import-form-section {
        padding: 1.5rem;
    }

    .notebook-import-title {
        font-size: 2rem;
    }

    .notebook-import-form-actions {
        flex-direction: column;
    }

    .notebook-import-btn {
        width: 100%;
    }

    .notebook-import-tips-body,
    .notebook-import-example-body {
        padding: 1rem;
    }
}
/* ====== Notebooks Import - End ====== */