/* CSS đơn giản, thân thiện, clean */
body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
}
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Header */
.main-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

/* Search Box (Google style) */
.search-box {
    text-align: center;
    padding: 40px 0;
}
.search-box form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.search-box input[type="text"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    outline: none;
}
.search-box button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    color: #007bff;
    font-weight: bold;
}

/* Author List */
.author-list {
    list-style: none;
    padding: 0;
}
.author-item {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
}
.author-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}
.author-info h2 {
    margin-top: 0;
    margin-bottom: 5px;
}
.author-info p {
    color: #666;
    font-size: 0.9em;
}

/* Detail Page */
.main-author-detail {
    text-align: center;
    padding: 30px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}
.main-author-detail img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}
.main-author-detail h1 {
    margin-bottom: 10px;
}
.similar-author-list h2 {
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.similar-author-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.amazon-link {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 0.9em;
}
.amazon-link:hover {
    background-color: #e68a00;
    text-decoration: none;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    background-color: #fff;
    margin-top: 20px;
    font-size: 0.8em;
    color: #666;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}


.author-list {
    list-style: none;
    padding: 0;
}

.author-item, .similar-author-item { 
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 15px; 
    padding: 15px;
    border-radius: 8px;
    display: flex; 
    align-items: flex-start; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
}
.author-item img, .similar-author-item img {
    width: 100px; 
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}
.author-info {
    flex-grow: 1;
}
.author-info h2 {
    margin-top: 0;
    margin-bottom: 5px;
}
.author-info p {
    color: #666;
    font-size: 0.9em;
}