/**
 * Physical Books Feature - CSS
 * File: cps/static/css/physical_books.css
 * 
 * This file contains all CSS styles for the physical books feature.
 * Include this file only when the physical books feature is enabled.
 */

/* Spinning animation for loading state */
@keyframes glyphicon-refresh-animate {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

.glyphicon-refresh-animate {
    animation: glyphicon-refresh-animate 1s infinite linear;
}

/* Physical books modal customization */
#addPhysicalBookModal .modal-header {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

#addPhysicalBookModal .modal-title {
    color: #333;
    font-weight: bold;
}

/* Form styling */
#addPhysicalBookForm .form-group {
    margin-bottom: 15px;
}

#addPhysicalBookForm .help-block {
    color: #737373;
    font-size: 12px;
}

#addPhysicalBookForm .text-danger {
    color: #d9534f;
}

#addPhysicalBookForm hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Required field indicator */
#addPhysicalBookForm .control-label .text-danger {
    font-size: 14px;
}

/* Alert styling in modal */
#addPhysicalBookForm .alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}

/* Button styling */
#addPhysicalBookModal .modal-footer .btn-primary {
    background-color: #5cb85c;
    border-color: #4cae4c;
}

#addPhysicalBookModal .modal-footer .btn-primary:hover {
    background-color: #449d44;
    border-color: #398439;
}

/* Physical book button in toolbar (optional styling) */
.btn-add-physical-book {
    /* Add any specific styling for the trigger button if needed */
}
