/* -----------------------------------------------------------
    Books Catalog Page Styles
----------------------------------------------------------- */

/* General Page Layout */
body {
    font-family: 'Inter', sans-serif;
}

.books-catalog {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

/* Page Hero Section */
.page-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.page-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.85), rgba(42, 82, 152, 0.85));
    z-index: 2;
}

.page-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .hero-content {
    position: relative;
    z-index: 3;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-hero .breadcrumb-item a:hover {
    color: white;
}

.page-hero .breadcrumb-item.active {
    color: white;
}

/* Search and Filter Section */
.search-filter-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Search Suggestions Dropdown for Books Page */
.search-box .search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.search-box .search-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-box .search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-box .search-suggestions::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.search-box .search-suggestions::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
}

.search-box .suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-box .suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.search-box .suggestion-item:hover,
.search-box .suggestion-item.selected {
    background: rgba(0, 123, 255, 0.05);
    color: #007bff;
    transform: translateX(3px);
}

.search-box .suggestion-item.no-results {
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    cursor: default;
}

.search-box .suggestion-item.no-results:hover {
    background: white;
    transform: none;
    color: #6c757d;
}

.search-box .suggestion-image {
    width: 45px;
    height: 63px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box .suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-box .suggestion-image .book-placeholder {
    color: #6c757d;
    font-size: 1.2rem;
}

.search-box .suggestion-content {
    flex: 1;
    min-width: 0;
}

.search-box .suggestion-title {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    color: #495057;
    word-break: break-word;
}

.search-box .suggestion-title mark {
    background: rgba(255, 193, 7, 0.3);
    color: #007bff;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 700;
}

.search-box .suggestion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.search-box .suggestion-author {
    color: #6c757d;
}

.search-box .suggestion-category {
    color: #17a2b8;
    font-weight: 500;
}

.search-box .suggestion-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.search-box .match-type {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
}

.search-box .availability {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
}

.search-box .availability.available {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.search-box .availability.unavailable {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.search-box .suggestion-actions {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.2s ease;
}

.search-box .suggestion-item:hover .suggestion-actions,
.search-box .suggestion-item.selected .suggestion-actions {
    opacity: 1;
    transform: translateX(0);
}

.search-box .suggestion-actions .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.search-box .suggestion-actions .view-details-btn {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.search-box .suggestion-actions .view-details-btn:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.search-box .suggestion-actions .reserve-btn {
    background: #007bff;
    color: white;
}

.search-box .suggestion-actions .reserve-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.search-box .suggestion-actions .btn:disabled {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    cursor: not-allowed;
}

.search-box .suggestion-actions .btn:disabled:hover {
    transform: none;
}

/* Responsive adjustments for suggestions */
@media (max-width: 768px) {
    .search-box .suggestion-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .search-box .suggestion-image {
        width: 35px;
        height: 49px;
    }
    
    .search-box .suggestion-title {
        font-size: 0.85rem;
    }
    
    .search-box .suggestion-meta {
        font-size: 0.75rem;
        gap: 0.375rem;
    }
    
    .search-box .suggestion-actions .btn {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
}

.search-input {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
}

.filter-group-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    border-color: #007bff;
    outline: none;
}

/* Price Range Filter Styles */
.price-range-group {
    flex: 1;
    min-width: 250px;
}

.price-inputs {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.price-inputs:focus-within {
    border-color: #007bff;
}

.price-inputs .filter-input {
    border: none;
    padding: 0.75rem;
    text-align: center;
    -moz-appearance: textfield;
}

.price-inputs .filter-input::-webkit-outer-spin-button,
.price-inputs .filter-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.min-price, .max-price {
    flex: 1;
}

.price-separator {
    color: #ced4da;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0 0.5rem;
}

/* Buttons Group */
.search-button-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.reset-btn {
    padding: 0.75rem 2rem;
    background: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.reset-btn:hover {
    background: #ced4da;
    color: #212529;
}

/* Results Section */
.results-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.results-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.view-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.view-btn.active:hover {
    color: white;
}

/* Book Grid View */
.books-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.books-grid.active {
    display: grid;
}

.book-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.book-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    height: 100%;
    width: 100%;
}

.book-card:hover .book-image {
    transform: scale(1.1);
}

.book-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    color: white;
}

.status-available {
    background: #28a745;
}

.status-unavailable {
    background: #dc3545;
}

.book-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000 !important; /* Pure black for maximum visibility */
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: block;
    overflow: visible;
    white-space: normal;
    opacity: 1; /* Ensure title is fully visible */
}

.book-author {
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.book-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.book-detail {
    font-size: 0.85rem;
    color: #6c757d;
}

.book-category {
    background: #e7f3ff;
    color: #0066cc;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: auto;
}

.book-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-view, .btn-reserve {
    flex: 1;
    padding: 0.6rem;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-view {
    background: #007bff;
}

.btn-view:hover {
    background: #0056b3;
}

.btn-reserve {
    background: #28a745;
}

.btn-reserve:hover {
    background: #1e7e34;
}

.btn-reserve:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* List View */
.books-list {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.books-list.active {
    display: flex;
}

.book-list-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.book-list-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.book-list-image {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-placeholder-list {
    color: white;
    font-size: 2rem;
}

.book-list-content {
    flex: 1;
}

.book-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.book-list-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000 !important; /* Pure black for maximum visibility */
    margin-bottom: 0.3rem;
}

.book-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.book-list-description {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-list-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.book-list-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.pagination li {
    display: flex;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.pagination a:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .active span {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .disabled span {
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.5;
    background: transparent;
    border-color: #e9ecef;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .page-header {
        margin-top: 150px; /* Reduced margin for mobile smaller header */
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-header {
        margin-top: 120px; /* Further reduced margin for smaller mobile screens */
    }

    .filter-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .price-range-group {
        min-width: 100%;
    }

    .filter-group {
        min-width: 100%;
    }

    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .book-list-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .book-list-image {
        align-self: center;
        margin-bottom: 1rem;
    }

    .book-list-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .book-list-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .book-list-actions .ms-auto {
        margin: 0 !important;
    }

    .pagination a,
    .pagination span {
        padding: 0.5rem 0.8rem;
        min-width: 40px;
    }

    .search-button-group {
        width: 100%;
    }

    .search-btn, .reset-btn {
        width: 50%;
    }

    .book-list-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .search-filter-section, .results-section {
        padding: 1rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.4rem 0.6rem;
        min-width: 35px;
        font-size: 0.9rem;
    }
    
    .search-button-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-btn, .reset-btn {
        width: 100%;
    }
}

/* Book Detail Modal Styles */
.book-detail-modal .modal-dialog {
    max-width: 800px;
}

.book-detail-content {
    display: flex;
    gap: 2rem;
}

.book-detail-image {
    width: 200px;
    height: 280px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-placeholder-detail {
    color: white;
    font-size: 4rem;
}

.book-detail-info {
    flex: 1;
}

.book-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000000 !important; /* Pure black for maximum visibility */
}

.book-detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.meta-value {
    color: #6c757d;
}

.book-description {
    margin: 1.5rem 0;
    line-height: 1.6;
}

.availability-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.availability-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #495057;
}

.copies-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.copy-stat {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.copy-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.copy-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.2rem;
}

.reservation-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.form-input:focus {
    border-color: #007bff;
    outline: none;
}

.reserve-btn {
    padding: 0.75rem 2rem;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    height: fit-content;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.reserve-btn:hover {
    background: #1e7e34;
}

.reserve-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
    padding: 1rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .book-detail-content {
        flex-direction: column;
    }

    .book-detail-image {
        width: 150px;
        height: 210px;
        align-self: center;
    }

    .book-detail-meta {
        grid-template-columns: 1fr;
    }

    .reservation-form {
        flex-direction: column;
        align-items: stretch;
    }

    .reserve-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .search-filter-section, .results-section {
        padding: 1rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.4rem 0.6rem;
        min-width: 35px;
        font-size: 0.9rem;
    }
    
    .search-button-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-btn, .reset-btn {
        width: 100%;
    }
}
 
 / *   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
         B o o k   R e s e r v a t i o n   M o d a l   S t y l e s 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   * / 
 
 / *   B o o k   R e s e r v a t i o n   M o d a l   * / 
 # b o o k R e s e r v a t i o n M o d a l   . m o d a l - c o n t e n t   { 
         b o r d e r :   n o n e ; 
         b o r d e r - r a d i u s :   1 5 p x ; 
         b o x - s h a d o w :   0   1 0 p x   3 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 2 ) ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . m o d a l - h e a d e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 1 e 3 c 7 2   0 % ,   # 2 a 5 2 9 8   1 0 0 % ) ; 
         c o l o r :   w h i t e ; 
         b o r d e r - r a d i u s :   1 5 p x   1 5 p x   0   0 ; 
         p a d d i n g :   1 . 5 r e m   2 r e m ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . m o d a l - t i t l e   { 
         f o n t - w e i g h t :   6 0 0 ; 
         f o n t - s i z e :   1 . 2 5 r e m ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . b t n - c l o s e   { 
         f i l t e r :   b r i g h t n e s s ( 0 )   i n v e r t ( 1 ) ; 
 } 
 
 / *   B o o k   P r e v i e w   S e c t i o n   * / 
 . b o o k - p r e v i e w   { 
         b a c k g r o u n d :   # f 8 f 9 f a ; 
         p a d d i n g :   1 . 5 r e m ; 
         b o r d e r - r a d i u s :   1 0 p x ; 
         t e x t - a l i g n :   c e n t e r ; 
         h e i g h t :   f i t - c o n t e n t ; 
 } 
 
 . b o o k - p r e v i e w   i m g   { 
         m a x - w i d t h :   1 0 0 % ; 
         m a x - h e i g h t :   3 0 0 p x ; 
         o b j e c t - f i t :   c o v e r ; 
         b o x - s h a d o w :   0   5 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 5 ) ; 
         b o r d e r - r a d i u s :   8 p x ; 
 } 
 
 . b o o k - p r e v i e w   h 4   { 
         f o n t - s i z e :   1 . 1 r e m ; 
         f o n t - w e i g h t :   6 0 0 ; 
         m a r g i n :   1 r e m   0   0 . 5 r e m   0 ; 
         l i n e - h e i g h t :   1 . 3 ; 
         c o l o r :   # 2 c 3 e 5 0 ; 
 } 
 
 . b o o k - p r e v i e w   . t e x t - m u t e d   { 
         f o n t - s i z e :   0 . 9 5 r e m ; 
         m a r g i n - b o t t o m :   1 r e m ; 
 } 
 
 / *   B o o k   M e t a   I n f o r m a t i o n   * / 
 . b o o k - m e t a - i n f o   { 
         b a c k g r o u n d :   w h i t e ; 
         p a d d i n g :   1 r e m ; 
         b o r d e r - r a d i u s :   8 p x ; 
         b o r d e r :   1 p x   s o l i d   # e 9 e c e f ; 
 } 
 
 . m e t a - r o w   { 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
         a l i g n - i t e m s :   c e n t e r ; 
         p a d d i n g :   0 . 5 r e m   0 ; 
         b o r d e r - b o t t o m :   1 p x   s o l i d   # f 1 f 3 f 4 ; 
 } 
 
 . m e t a - r o w : l a s t - c h i l d   { 
         b o r d e r - b o t t o m :   n o n e ; 
 } 
 
 . m e t a - l a b e l   { 
         f o n t - w e i g h t :   5 0 0 ; 
         c o l o r :   # 6 c 7 5 7 d ; 
         f o n t - s i z e :   0 . 9 r e m ; 
 } 
 
 . m e t a - v a l u e   { 
         f o n t - w e i g h t :   6 0 0 ; 
         c o l o r :   # 2 c 3 e 5 0 ; 
         f o n t - s i z e :   0 . 9 r e m ; 
 } 
 
 / *   F o r m   S t y l e s   * / 
 # b o o k R e s e r v a t i o n F o r m   . f o r m - l a b e l   { 
         f o n t - w e i g h t :   5 0 0 ; 
         c o l o r :   # 2 c 3 e 5 0 ; 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
 } 
 
 # b o o k R e s e r v a t i o n F o r m   . f o r m - c o n t r o l , 
 # b o o k R e s e r v a t i o n F o r m   . f o r m - s e l e c t   { 
         b o r d e r :   2 p x   s o l i d   # e 9 e c e f ; 
         b o r d e r - r a d i u s :   8 p x ; 
         p a d d i n g :   0 . 7 5 r e m   1 r e m ; 
         f o n t - s i z e :   0 . 9 5 r e m ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 # b o o k R e s e r v a t i o n F o r m   . f o r m - c o n t r o l : f o c u s , 
 # b o o k R e s e r v a t i o n F o r m   . f o r m - s e l e c t : f o c u s   { 
         b o r d e r - c o l o r :   # 1 e 3 c 7 2 ; 
         b o x - s h a d o w :   0   0   0   0 . 2 r e m   r g b a ( 3 0 ,   6 0 ,   1 1 4 ,   0 . 2 5 ) ; 
 } 
 
 # b o o k R e s e r v a t i o n F o r m   . t e x t - d a n g e r   { 
         c o l o r :   # d c 3 5 4 5   ! i m p o r t a n t ; 
 } 
 
 / *   A l e r t   S t y l e s   * / 
 # b o o k R e s e r v a t i o n M o d a l   . a l e r t   { 
         b o r d e r - r a d i u s :   8 p x ; 
         b o r d e r :   n o n e ; 
         p a d d i n g :   1 r e m ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . a l e r t - i n f o   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # e 3 f 2 f d   0 % ,   # f 1 f 8 e 9   1 0 0 % ) ; 
         c o l o r :   # 1 5 6 5 c 0 ; 
         b o r d e r - l e f t :   4 p x   s o l i d   # 1 9 7 6 d 2 ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . a l e r t   h 6   { 
         m a r g i n - b o t t o m :   0 . 7 5 r e m ; 
         f o n t - w e i g h t :   6 0 0 ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . a l e r t   u l   { 
         m a r g i n - b o t t o m :   0 ; 
         p a d d i n g - l e f t :   1 . 2 r e m ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . a l e r t   l i   { 
         m a r g i n - b o t t o m :   0 . 2 5 r e m ; 
         f o n t - s i z e :   0 . 9 r e m ; 
 } 
 
 / *   T e r m s   a n d   C o n d i t i o n s   C h e c k b o x   * / 
 . f o r m - c h e c k   { 
         p a d d i n g :   1 r e m ; 
         b a c k g r o u n d :   # f 8 f 9 f a ; 
         b o r d e r - r a d i u s :   8 p x ; 
         b o r d e r :   1 p x   s o l i d   # e 9 e c e f ; 
 } 
 
 . f o r m - c h e c k - i n p u t : c h e c k e d   { 
         b a c k g r o u n d - c o l o r :   # 1 e 3 c 7 2 ; 
         b o r d e r - c o l o r :   # 1 e 3 c 7 2 ; 
 } 
 
 . f o r m - c h e c k - l a b e l   { 
         f o n t - s i z e :   0 . 9 r e m ; 
         l i n e - h e i g h t :   1 . 4 ; 
 } 
 
 . f o r m - c h e c k - l a b e l   a   { 
         c o l o r :   # 1 e 3 c 7 2 ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
         f o n t - w e i g h t :   5 0 0 ; 
 } 
 
 . f o r m - c h e c k - l a b e l   a : h o v e r   { 
         t e x t - d e c o r a t i o n :   u n d e r l i n e ; 
 } 
 
 / *   M o d a l   F o o t e r   * / 
 # b o o k R e s e r v a t i o n M o d a l   . m o d a l - f o o t e r   { 
         p a d d i n g :   1 . 5 r e m   2 r e m ; 
         b o r d e r - t o p :   1 p x   s o l i d   # e 9 e c e f ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . b t n   { 
         p a d d i n g :   0 . 7 5 r e m   1 . 5 r e m ; 
         b o r d e r - r a d i u s :   8 p x ; 
         f o n t - w e i g h t :   5 0 0 ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . b t n - p r i m a r y   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 1 e 3 c 7 2   0 % ,   # 2 a 5 2 9 8   1 0 0 % ) ; 
         b o r d e r :   n o n e ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . b t n - p r i m a r y : h o v e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 1 a 3 4 6 6   0 % ,   # 2 4 4 7 7 f   1 0 0 % ) ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
         b o x - s h a d o w :   0   5 p x   1 5 p x   r g b a ( 3 0 ,   6 0 ,   1 1 4 ,   0 . 3 ) ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . b t n - s e c o n d a r y   { 
         b a c k g r o u n d :   # 6 c 7 5 7 d ; 
         b o r d e r :   n o n e ; 
 } 
 
 # b o o k R e s e r v a t i o n M o d a l   . b t n - s e c o n d a r y : h o v e r   { 
         b a c k g r o u n d :   # 5 a 6 2 6 8 ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
 } 
 
 / *   B o o k   T e r m s   M o d a l   * / 
 # b o o k T e r m s M o d a l   . m o d a l - c o n t e n t   { 
         b o r d e r - r a d i u s :   1 5 p x ; 
 } 
 
 # b o o k T e r m s M o d a l   . m o d a l - h e a d e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 2 8 a 7 4 5   0 % ,   # 2 0 c 9 9 7   1 0 0 % ) ; 
         c o l o r :   w h i t e ; 
         b o r d e r - r a d i u s :   1 5 p x   1 5 p x   0   0 ; 
 } 
 
 # b o o k T e r m s M o d a l   . b t n - c l o s e   { 
         f i l t e r :   b r i g h t n e s s ( 0 )   i n v e r t ( 1 ) ; 
 } 
 
 . t e r m s - c o n t e n t   h 6   { 
         c o l o r :   # 2 c 3 e 5 0 ; 
         f o n t - w e i g h t :   6 0 0 ; 
         m a r g i n - t o p :   1 . 5 r e m ; 
         m a r g i n - b o t t o m :   0 . 7 5 r e m ; 
 } 
 
 . t e r m s - c o n t e n t   h 6 : f i r s t - c h i l d   { 
         m a r g i n - t o p :   0 ; 
 } 
 
 . t e r m s - c o n t e n t   u l   { 
         p a d d i n g - l e f t :   1 . 2 r e m ; 
         m a r g i n - b o t t o m :   1 r e m ; 
 } 
 
 . t e r m s - c o n t e n t   l i   { 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
         l i n e - h e i g h t :   1 . 5 ; 
         c o l o r :   # 4 9 5 0 5 7 ; 
 } 
 
 / *   R e s p o n s i v e   D e s i g n   f o r   B o o k   R e s e r v a t i o n   M o d a l   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         # b o o k R e s e r v a t i o n M o d a l   . m o d a l - d i a l o g   { 
                 m a r g i n :   1 r e m ; 
         } 
         
         # b o o k R e s e r v a t i o n M o d a l   . m o d a l - b o d y   . r o w   >   d i v   { 
                 m a r g i n - b o t t o m :   1 . 5 r e m ; 
         } 
         
         . b o o k - p r e v i e w   { 
                 t e x t - a l i g n :   c e n t e r ; 
                 p a d d i n g :   1 r e m ; 
         } 
         
         . b o o k - p r e v i e w   i m g   { 
                 m a x - h e i g h t :   2 0 0 p x ; 
         } 
         
         # b o o k R e s e r v a t i o n M o d a l   . m o d a l - h e a d e r , 
         # b o o k R e s e r v a t i o n M o d a l   . m o d a l - f o o t e r   { 
                 p a d d i n g :   1 r e m   1 . 5 r e m ; 
         } 
         
         . m e t a - r o w   { 
                 f l e x - d i r e c t i o n :   c o l u m n ; 
                 a l i g n - i t e m s :   f l e x - s t a r t ; 
                 g a p :   0 . 2 5 r e m ; 
         } 
         
         . m e t a - l a b e l , 
         . m e t a - v a l u e   { 
                 f o n t - s i z e :   0 . 8 5 r e m ; 
         } 
 } 
 
 
 
 / *   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
         B o o k   R e s e r v a t i o n   S u c c e s s   M o d a l   S t y l e s 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   * / 
 
 / *   B o o k   R e s e r v a t i o n   S u c c e s s   M o d a l   * / 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . m o d a l - c o n t e n t   { 
         b o r d e r :   n o n e ; 
         b o r d e r - r a d i u s :   1 5 p x ; 
         b o x - s h a d o w :   0   1 5 p x   3 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 2 ) ; 
 } 
 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . m o d a l - h e a d e r   { 
         b o r d e r - r a d i u s :   1 5 p x   1 5 p x   0   0 ; 
         p a d d i n g :   1 . 5 r e m   2 r e m ; 
 } 
 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . m o d a l - t i t l e   { 
         f o n t - w e i g h t :   6 0 0 ; 
         f o n t - s i z e :   1 . 2 5 r e m ; 
 } 
 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . b t n - c l o s e   { 
         f i l t e r :   b r i g h t n e s s ( 0 )   i n v e r t ( 1 ) ; 
 } 
 
 / *   S u c c e s s   A n i m a t i o n   * / 
 . s u c c e s s - a n i m a t i o n   { 
         m a r g i n :   1 r e m   0 ; 
         a n i m a t i o n :   s u c c e s s P u l s e   2 s   i n f i n i t e ; 
 } 
 
 @ k e y f r a m e s   s u c c e s s P u l s e   { 
         0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
         5 0 %   {   t r a n s f o r m :   s c a l e ( 1 . 1 ) ;   } 
         1 0 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
 } 
 
 / *   B o o k i n g   S u m m a r y   * / 
 . b o o k i n g - s u m m a r y   { 
         b a c k g r o u n d :   # f 8 f 9 f a ; 
         p a d d i n g :   1 . 5 r e m ; 
         b o r d e r - r a d i u s :   1 0 p x ; 
         b o r d e r :   1 p x   s o l i d   # e 9 e c e f ; 
         m a r g i n :   1 r e m   0 ; 
 } 
 
 . b o o k i n g - s u m m a r y   . r o w   >   d i v   { 
         p a d d i n g :   0 . 5 r e m   0 ; 
         b o r d e r - b o t t o m :   1 p x   s o l i d   # e 9 e c e f ; 
 } 
 
 . b o o k i n g - s u m m a r y   . r o w   >   d i v : n t h - l a s t - c h i l d ( - n + 2 )   { 
         b o r d e r - b o t t o m :   n o n e ; 
 } 
 
 . b o o k i n g - s u m m a r y   s t r o n g   { 
         c o l o r :   # 2 c 3 e 5 0 ; 
 } 
 
 / *   S u c c e s s   M o d a l   A l e r t   * / 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . a l e r t - i n f o   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # e 3 f 2 f d   0 % ,   # f 1 f 8 e 9   1 0 0 % ) ; 
         b o r d e r :   1 p x   s o l i d   # 1 9 7 6 d 2 ; 
         b o r d e r - r a d i u s :   8 p x ; 
 } 
 
 / *   S u c c e s s   M o d a l   F o o t e r   * / 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . m o d a l - f o o t e r   { 
         p a d d i n g :   1 . 5 r e m   2 r e m ; 
         b o r d e r - t o p :   1 p x   s o l i d   # e 9 e c e f ; 
 } 
 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . b t n   { 
         p a d d i n g :   0 . 7 5 r e m   1 . 5 r e m ; 
         b o r d e r - r a d i u s :   8 p x ; 
         f o n t - w e i g h t :   5 0 0 ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . b t n - s u c c e s s   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 2 8 a 7 4 5   0 % ,   # 2 0 c 9 9 7   1 0 0 % ) ; 
         b o r d e r :   n o n e ; 
 } 
 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . b t n - s u c c e s s : h o v e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 2 1 8 8 3 8   0 % ,   # 1 e a 0 8 5   1 0 0 % ) ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
         b o x - s h a d o w :   0   5 p x   1 5 p x   r g b a ( 4 0 ,   1 6 7 ,   6 9 ,   0 . 3 ) ; 
 } 
 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . b t n - o u t l i n e - p r i m a r y   { 
         b o r d e r :   2 p x   s o l i d   # 1 e 3 c 7 2 ; 
         c o l o r :   # 1 e 3 c 7 2 ; 
 } 
 
 # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . b t n - o u t l i n e - p r i m a r y : h o v e r   { 
         b a c k g r o u n d :   # 1 e 3 c 7 2 ; 
         b o r d e r - c o l o r :   # 1 e 3 c 7 2 ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
 } 
 
 / *   R e s p o n s i v e   D e s i g n   f o r   S u c c e s s   M o d a l   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . m o d a l - d i a l o g   { 
                 m a r g i n :   1 r e m ; 
         } 
         
         # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . m o d a l - h e a d e r , 
         # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . m o d a l - f o o t e r   { 
                 p a d d i n g :   1 r e m   1 . 5 r e m ; 
         } 
         
         . b o o k i n g - s u m m a r y   { 
                 p a d d i n g :   1 r e m ; 
         } 
         
         . b o o k i n g - s u m m a r y   . r o w   >   d i v   { 
                 f o n t - s i z e :   0 . 9 r e m ; 
                 p a d d i n g :   0 . 4 r e m   0 ; 
         } 
         
         # b o o k R e s e r v a t i o n S u c c e s s M o d a l   . m o d a l - f o o t e r   . b t n   { 
                 w i d t h :   1 0 0 % ; 
                 m a r g i n :   0 . 2 5 r e m   0 ; 
         } 
 } 
 
 