* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #e9f2f7;
}

/* Header */
.main-header {
    background-color: #337ab7;
    color: white;
    padding: 20px 10px;
    text-align: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.header-text h1 {
    font-size: 22px;
    font-weight: normal;
    line-height: 1.4;
}

/* Card Container */
.container {
    padding: 15px;
    display: flex;
    justify-content: center;
}

.card {
    background: white;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 18px;
    color: #444;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin-bottom: 20px;
}

/* Form Groups */
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column; /* Mobile logic by default */
}

.form-group label {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

.form-group label span {
    color: red;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fdfdfd;
}

.captcha-display {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
    padding-left: 10px;
}

/* Buttons */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    background-color: #4a8ec7;
    transition: 0.3s;
}

button:hover {
    background-color: #337ab7;
}

/* Desktop Mode Adjustment */
@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
    }
    .form-group {
        flex-direction: row;
        align-items: center;
    }
    .form-group label {
        flex: 1;
        text-align: right;
        margin-bottom: 0;
        padding-right: 20px;
    }
    .form-group input {
        flex: 2;
    }
    .button-container {
        align-items: center;
    }
    button {
        max-width: 400px;
    }
}
