.login-section {
    background-image: url('../img/banner/40804-Sai-Kung-Town.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
}

.login-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1;    
    border-radius: 20px;
}

.login-container h2 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

#login-form {
    display: flex;
    flex-direction: column;
}

#login-form label {
    /* margin-top: 10px; */
    text-align: left;
    color: #333;
}

#login-form input {
    /* padding: 10px; */
    /* margin-bottom: 15px; */
    border: none;
    border-radius: 9px;
    font-size: 1rem;
}

#login-form button {
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

#login-form button:hover {
    background-color: #45a049;
}

.login-container p {
    margin-top: 1rem;
    color: #666;
}

.login-container a {
    color: #4CAF50;
    text-decoration: none;
}

.login-container a:hover {
    text-decoration: underline;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tab-button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    padding: 12px 24px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-button:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    transform: translateY(-2px);
}

.tab-button.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.form-hidden {
    display: none;
}

.form-active {
    display: flex;
    flex-direction: column;
}

#register-form {
    display: flex;
    flex-direction: column;
}

#register-form label {
    /* margin-top: 10px; */
    text-align: left;
    color: #333;
}

#register-form input {
    /* padding: 10px; */
    border: none;
    border-radius: 9px;
    font-size: 1rem;
}

#register-form button {
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    border-radius: 30px;
}

#register-form button:hover {
    background-color: #45a049;
}

.nav-tabs .nav-link.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.nav-tabs {
    width: 100%;
    border-bottom: none;
    gap: 10px;
}

.nav-tabs .nav-item {
    flex: 1;
    margin: 0;
}

.nav-tabs .nav-link {
    width: 100%;
    text-align: center;
    border-radius: 0;
    border: 1px solid #4CAF50;
    background-color: rgba(255, 255, 255, 0.8);
    color: #4CAF50;
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
    border-radius: 30px;
}

.nav-tabs .nav-link.active {
    background-color: #4CAF50;
    color: white;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.col-form-label {
    font-size: 14px;
    text-align: justify;
    padding-right: 1rem;
}

.btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
}

.btn-success:hover {
    background-color: #28a745;
    border-color: #28a745;
}

.login-container h2 {
    color: #4CAF50;
    font-weight: bold;
}

.tab-pane {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.tab-pane.active {
    opacity: 1;
    transform: translateX(0);
    display: block;
}