body {
    font-family: sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('/images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px;
    background-attachment: fixed;
}

.button-group button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: none;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    /* Đảm bảo không xuống dòng */
}

.container {
    background-color: rgba(255, 255, 255, 0.8);
    /* Thêm chút trong suốt để nhìn rõ background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

h1 {
    color: #28a745;
    /* Màu xanh lá cây tươi sáng */
    margin-bottom: 10px;
}

p {
    color: #3d9951;
    /* Màu xanh lá cây đậm hơn một chút */
    margin-bottom: 0px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    text-align: left;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #495057;
    /* Màu xám đậm hơn cho label */
}

label.required::after {
    content: " *";
    color: red;
}

input[type="text"] {
    padding: 10px;
    border: 1px solid #ced4da;
    /* Màu border nhạt hơn */
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    border: none;
    color: white;
}

button.primary {
    background-color: #28a745;
    /* Màu xanh lá cây tươi sáng */
}

button.primary:hover {
    background-color: #218838;
    /* Màu xanh lá cây đậm hơn khi hover */
}

button.secondary {
    background-color: #6c757d;
    /* Màu xám trung tính */
}

button.secondary:hover {
    background-color: #5a6268;
    /* Màu xám đậm hơn khi hover */
}

#output-url-container {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ced4da;
    /* Màu border nhạt hơn */
    border-radius: 4px;
    background-color: #f8f9fa;
    /* Màu nền nhạt hơn */
    font-size: 14px;
    word-break: break-all;
    /* Để tránh tràn khi URL quá dài */
    white-space: pre-wrap;
    /* Hiển thị xuống dòng */
    text-align: left;
    display: none;
    /* Ẩn ban đầu */
}

.button-group {
    display: flex;
    justify-content: flex-end;
    /* Căn phải các nút */
    gap: 10px;
    /* Khoảng cách giữa các nút */
    margin-top: 10px;
}

.button-group button i {
    margin-right: 5px;
}

#optional-fields {
    display: none;
    /* Ẩn các trường tùy chọn ban đầu */
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-top: 20px;
}

#expand-optional {
    background-color: transparent;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

#expand-optional:hover {
    background-color: #f0f8ff;
}

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

.description {
    margin-top: 50px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    font-size: 16px;
    line-height: 1.6;
}

.description h2 {
    color: #007bff;
}

.description p {
    color: #333;
    margin-bottom: 20px;
}

#logo-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 60%;
    max-width: 600px;
}

#logo-container img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#logo-container a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#logo-container a:hover {
    background-color: #218838;
}