body {
    font-family: Arial, sans-serif;
    background-color: #fafbfc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    text-align: center;
}

.header {
    margin-bottom: 25px;
}

.header .logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.header h1 {
    font-size: 2em;
    color: #f06a22;
    margin-top: 0;
}

.message-area {
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: left;
    display: none; /* Hidden by default */
}

.message-area.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message-area.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.message-area.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.tab-button {
    background-color: #f0f0f0;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    color: #555;
    border-radius: 5px 5px 0 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-grow: 1;
    text-align: center;
}

.tab-button.active {
    background-color: #f06a22;
    color: #fff;
    border-bottom: 2px solid #f06a22;
}

.tab-button:hover:not(.active) {
    background-color: #e0e0e0;
}

.tab-content {
    display: none;
    padding: 20px 0;
    text-align: left;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    color: #f06a22;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Đảm bảo padding không làm tăng chiều rộng */
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-primary {
    background-color: #f06a22;
    color: white;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #f06a22;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Modal styles for Email Verification */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    text-align: left;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    text-align: center;
    color: #f06a22;
    margin-top: 0;
    margin-bottom: 20px;
}

.modal-content p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    .tab-button {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}