/**
 * Frontend Styles for Plan With Us
 */

 .gr-hero {
    position: relative;
    width: 100%;
    height: 420px;
    background: url('https://golfinvietnam.vn/wp-content/uploads/2026/02/image_111.png') center center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}

.gr-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.gr-hero .hero-title {
    font-family: "eicons";
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 12px;
    text-shadow: 0 2px 11px rgba(0,0,0,0.6);
}

.gr-hero .hero-sub-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 11px rgba(0,0,0,0.6);
    line-height: 1.7;
}

 .gpwu-form-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.gpwu-form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.gpwu-form-section:last-of-type {
    border-bottom: none;
}

.gpwu-section-title {
    color: #2F363F;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.gpwu-field-group {
    margin-bottom: 20px;
}

.gpwu-field-label, 
.gpwu-field-group > label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
}

.gpwu-input,
input[type="text"].gpwu-input,
input[type="email"].gpwu-input,
input[type="number"].gpwu-input,
select.gpwu-input,
textarea.gpwu-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.gpwu-input:focus {
    border-color: #117849;
    outline: none;
    box-shadow: 0 0 0 2px rgba(17, 120, 73, 0.1);
}

textarea.gpwu-input {
    resize: vertical;
    min-height: 100px;
}

.gpwu-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gpwu-option-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.gpwu-option-item input[type="radio"],
.gpwu-option-item input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #117849;
    width: 16px;
    height: 16px;
}

.gpwu-option-item label {
    cursor: pointer;
    font-weight: normal;
    font-size: 15px;
    color: #555;
    margin-bottom: 0;
}

.gpwu-other-input {
    width: calc(100% - 30px);
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.gpwu-other-input:focus {
    border-color: #117849;
    outline: none;
}

.gpwu-form-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.gpwu-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.gpwu-btn-primary {
    background-color: #117849;
    color: #fff;
}

.gpwu-btn-primary:hover {
    background-color: #0d5e38;
}

.gpwu-btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.gpwu-error-group {
    border: 1px dashed red;
    padding: 10px;
    border-radius: 4px;
    background: #fffafa;
}

.gpwu-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: #117849;
    animation: gpwu-spin 1s ease-in-out infinite;
}

@keyframes gpwu-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .gpwu-form-container {
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
    }
}
