/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Page center */
.page-center {
    min-height: 700px;/* account for navbar + footer */
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e0e0e0, #f3f2ef); /* subtle background gradient */
    padding: 10px;
}

/* Card / Box */
.register-card {
    background: #ffffff;
    max-width: 450px;
    width: 100%;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.register-card:hover {
    transform: translateY(-5px); /* subtle hover effect */
}

/* Card title */
.register-card h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #090909;
    position: relative;
}

.register-card h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #080808;
    display: block;
    margin: 6px auto 0;
    border-radius: 2px;
}

/* Form rows */
.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-box label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.input-box input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-box input:focus {
    border-color: #080808;
    outline: none;
}

/* Gender section */
.gender-section {
    margin: 20px 0;
    font-size: 14px;
}

.gender-section span {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.gender-section label {
    margin-right: 15px;
}

/* Terms */
.terms {
    font-size: 14px;
    margin-bottom: 15px;
}

.terms a {
    color: #080808;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Button */
.register-card .btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 25px;
    background: #080808;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.register-card .btn:hover {
    background:#393939;
}

/* Login link */
.login-link {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.login-link a {
    color: #080808;
    font-weight: bold;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
    }
    .register-card {
        padding: 25px 20px;
        width: 95%;
    }
}
