/* --- Form Card Layout --- */
.form-container {
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.styled-form .form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.styled-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.styled-form .form-group.full-width {
    width: 100%;
}

.styled-form label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 6px;
}

.styled-form input,
.styled-form select,
.styled-form textarea {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1.5px solid #cfcfcf;
    background: transparent;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}
.styled-form input#phone {
    caret-color: #000;
}
.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
    border-bottom-color: #00AEEF;
}
.styled-form select {
    appearance: none;
    cursor: pointer;
}

.styled-form .error-msg {
    font-size: 13px;
    margin-top: 5px;
    color: red;
}

.styled-form input.error, .styled-form textarea.error {
    border-bottom-color: red !important;
}

.styled-form button {
    width: auto;
    padding: 12px 25px;
    margin-top: 15px;
    background: #00AEEF;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.styled-form button:hover {
    background: #0086b7;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .styled-form .form-row {
        flex-direction: column;
    }
}
