* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

header h1 {
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

.user-info span {
    color: #333;
    font-weight: 500;
}

/* Main Layout */
main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    min-height: calc(100vh - 200px);
}

/* Filters Bar */
.filters-bar {
    grid-column: 1 / -1;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.search-section {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #007bff;
}

.filters-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.filter-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #007bff;
}

/* Books Section */
.books-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.books-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.books-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.view-controls {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.view-btn:hover:not(.active) {
    border-color: #007bff;
    color: #007bff;
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.books-grid.list-view {
    grid-template-columns: 1fr;
}

.book-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.book-card.selected {
    border-color: #007bff;
    background: #e3f2fd;
}

/* Cover Image Section */
.cover-image-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #e9ecef;
    transition: border-color 0.3s ease;
}

.cover-image-section:hover {
    border-color: #007bff;
}

.cover-image-section label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.cover-image-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cover-image-preview {
    width: 200px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #e9ecef;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.cover-image-preview:hover {
    border-color: #007bff;
}

.cover-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-placeholder {
    text-align: center;
    color: #666;
    padding: 20px;
}

.cover-placeholder span {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.cover-placeholder p {
    font-size: 14px;
    margin: 0;
}

.cover-image-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cover-image-input {
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
}

.cover-image-input:focus {
    outline: none;
    border-color: #007bff;
}

/* Update book card to show cover images */
.book-card .book-cover {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    overflow: hidden;
    position: relative;
}

.book-card .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card .book-cover .cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-cover .cover-overlay {
    opacity: 1;
}

/* List view cover adjustments */
.books-grid.list-view .book-cover {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.books-grid.list-view .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card .book-info {
    margin-bottom: 15px;
}

.book-card .book-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.book-card .book-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
}

.book-card .book-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.book-card .status-new {
    background: #28a745;
    color: white;
}

.book-card .status-recommended {
    background: #ffc107;
    color: #333;
}

.book-card .status-featured {
    background: #dc3545;
    color: white;
}

.book-card .status-archived {
    background: #6c757d;
    color: white;
}

.book-card .book-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.book-card .category-tag {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    color: white;
}

.book-card .book-actions {
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-actions {
    opacity: 1;
}

.book-card .action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-card .edit-btn {
    background: #007bff;
    color: white;
}

.book-card .delete-btn {
    background: #dc3545;
    color: white;
}

.book-card .edit-btn:hover {
    background: #0056b3;
}

.book-card .delete-btn:hover {
    background: #c82333;
}

/* List View */
.books-grid.list-view .book-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.books-grid.list-view .book-cover {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.books-grid.list-view .book-info {
    flex: 1;
    margin-bottom: 0;
}

.books-grid.list-view .book-actions {
    opacity: 1;
    flex-shrink: 0;
}

/* Categories Sidebar */
.categories-sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: fit-content;
}

.categories-sidebar h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.category-item:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.category-item .category-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-item .category-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.category-item .category-image {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.category-item .category-actions {
    display: flex;
    gap: 5px;
}

.category-item .category-actions button {
    padding: 4px 8px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-item .edit-btn {
    background: #ffc107;
    color: #333;
}

.category-item .delete-btn {
    background: #dc3545;
    color: white;
}

.category-item .edit-btn:hover {
    background: #e0a800;
}

.category-item .delete-btn:hover {
    background: #c82333;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.pagination button {
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .page-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.large-modal {
    max-width: 1200px;
    width: 95%;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* Book Editor Styles */
.book-editor {
    width: 100%;
}

.book-header {
    margin-bottom: 30px;
}

.book-title-input {
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
}

.book-title-input:focus {
    border-color: #007bff;
}

.book-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.meta-group {
    flex: 1;
}

.meta-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.meta-select, .meta-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.meta-select:focus, .meta-input:focus {
    outline: none;
    border-color: #007bff;
}

.category-selection {
    margin-top: 20px;
}

.category-selection label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.category-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-checkbox:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.category-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.category-checkbox .category-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.category-checkbox .category-image {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.editor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.pages-section, .preview-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.pages-section h3, .preview-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.pages-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.page {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.page:hover {
    border-color: #007bff;
}

.page textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 15px;
}

.page input[type=file] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
}

.preview-pages {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-page {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    min-height: 200px;
}

.preview-page img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f8f9fa;
}

.preview-page .text {
    flex: 1;
    white-space: pre-wrap;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    min-height: 150px;
    font-size: 14px;
    line-height: 1.5;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.removePage {
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.removePage:hover {
    background: #c82333;
}

/* Form Styles */
.modal h2 {
    margin-bottom: 20px;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group input[type="color"] {
    width: 60px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

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

/* Category Image Styles */
.category-image-container {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.category-image-preview {
    width: 100px;
    height: 100px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    overflow: hidden;
    flex-shrink: 0;
}

.category-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-image-placeholder {
    text-align: center;
    color: #999;
}

.category-image-placeholder span {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.category-image-placeholder p {
    margin: 0;
    font-size: 12px;
}

.category-image-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-image-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    main {
        grid-template-columns: 1fr;
    }
    
    .categories-sidebar {
        order: -1;
        margin-bottom: 20px;
    }
    
    .editor-container {
        grid-template-columns: 1fr;
    }
    
    .preview-page {
        flex-direction: column;
    }
    
    .preview-page img {
        width: 100%;
        height: 200px;
    }
    
    .book-meta {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .filters-section {
        grid-template-columns: 1fr;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .books-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .large-modal {
        width: 95%;
    }
    
    .category-checkboxes {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }

    /* Responsive cover image */
    .cover-image-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cover-image-preview {
        width: 150px;
        height: 210px;
    }
    
    .cover-image-controls {
        width: 100%;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.book-card, .page, .preview-page {
    animation: fadeIn 0.3s ease-out;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.empty-state .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Page file inputs */
.page-files {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.file-input-group {
    flex: 1;
    min-width: 200px;
}

.file-input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.file-input-group input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.file-input-group input[type="file"]:focus {
    outline: none;
    border-color: #007bff;
}

/* Audio player in preview */
.preview-page audio {
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
}

/* Book audio section */
.book-audio-section {
    margin: 20px 0;
}

.book-audio-container {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.book-audio-preview {
    width: 200px;
    min-height: 60px;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.audio-placeholder {
    text-align: center;
    color: #666;
}

.audio-placeholder span {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

.audio-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

.book-audio-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.book-audio-input {
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.book-audio-input:focus {
    outline: none;
    border-color: #007bff;
}

.book-audio-preview audio {
    width: 100%;
    border-radius: 8px;
}

/* Progress Dialog Styles */
.progress-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.progress-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.progress-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.5em;
}

.progress-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 1em;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 0%;
    animation: progress 2s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}
