/* =========================================================
   custom-refer-earn.css
   ========================================================= */

.custom-rae-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(10, 37, 64, 0.08);
}

.custom-rae-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.custom-rae-col {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.custom-rae-col h3 {
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 35px;
    margin-top: 0;
    position: relative;
    padding-bottom: 15px;
}

.custom-rae-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #f59e0b;
    border-radius: 2px;
}

.custom-rae-group {
    margin-bottom: 24px;
}

.custom-rae-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.custom-rae-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    color: #1e293b;
    transition: all 0.3s ease;
    background: #ffffff;
}

.custom-rae-group input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.custom-rae-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.custom-rae-submit-wrap {
    text-align: center;
}

.custom-rae-submit {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 20px 60px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.custom-rae-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #d97706, #b45309);
}

@media (max-width: 900px) {
    .custom-rae-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .custom-rae-col {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .custom-rae-container {
        padding: 40px 20px;
    }
    .custom-rae-submit {
        width: 100%;
        justify-content: center;
    }
}
