﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
/* === CSS cho trang ChiTietSach === */
.book-detail-container {
    background-color: #f5f5f5;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 800px;
    margin: 0 auto; /* căn giữa khung */
    text-align: center;
}

.book-title {
    font-size: 22px;
    font-weight: bold;
    color: #003366;
    margin: 15px 0;
}

.book-image img {
    max-width: 250px;
    border: 1px solid #ccc;
    padding: 5px;
    background: #fff;
    margin-bottom: 15px;
}

.book-info {
    line-height: 1.6;
    text-align: justify; /* mô tả canh đều */
}

.book-meta {
    margin-top: 15px;
    text-align: center;
}

    .book-meta p {
        margin: 5px 0;
    }

.book-price {
    font-size: 18px;
    color: #0066cc;
    font-weight: bold;
}
/* CSS cho form đăng ký */
.register-container {
    max-width: 500px; /* giới hạn chiều rộng */
    margin: 0 auto; /* căn giữa */
    background-color: #f9f9f9;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

    .register-container h2 {
        margin-top: 0;
        margin-bottom: 15px;
        font-weight: bold;
        color: #333;
    }

    .register-container .form-group label {
        font-weight: bold;
    }

    .register-container .btn-primary {
        width: 100%;
        padding: 10px;
    }
.login-container {
    max-width: 400px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

    .login-container h2 {
        margin-top: 0;
        margin-bottom: 15px;
        font-weight: bold;
    }
