/* General reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #f4f4f4;
}

/* Register container */
.register-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 700px;
    margin: 80px auto;
    width: 90%;
    text-align: center;
}

.register-container h1 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Form layout */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    width: 100%;
}

.form-group label {
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    width: 100%;
    display: block;
}

.form-control:focus {
    border-color: #349B7D;
    box-shadow: 0 0 5px rgba(52, 155, 125, 0.5);
    outline: none;
}

/* Submit button */
.btn-primary {
    background-color: #349B7D;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    padding: 12px;
    width: 100%;
    transition: background 0.3s ease;
    margin-top: 10px;
    color: white;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #2b8264;
}

/* Errors and alerts */
.alert-danger {
    background: #ff6b6b;
    color: #fff;
    border-radius: 6px;
    padding: 12px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.text-danger {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Checkbox layout */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-label {
    font-size: 14px;
    color: #555;
}

.form-check-label a {
    color: #349B7D;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.checkbox-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

/* Footer link */
.mt-4 {
    margin-top: 1.5rem;
    text-align: center;
}

.mt-4 a {
    color: #349B7D;
    text-decoration: none;
    font-weight: bold;
}

.mt-4 a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .register-container {
        padding: 20px;
        margin: 40px 10px;
    }

    .btn-primary {
        font-size: 16px;
        padding: 10px;
    }

    .form-check-label {
        font-size: 13px;
    }
}
