/* AGTv Club1000+ styles */

/* Card wrapper */
.agtv-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    max-width: 900px;
    margin: 40px auto;
}

/* Heading */
.agtv-title {
    font-size: 32px;
    color: #303181;
    font-weight: 700;
    margin-bottom: 6px;
}

.agtv-subtitle {
    font-size: 17px;
    color: #4a4a4a;
    margin-bottom: 30px;
}

/* Accent line */
.agtv-accent {
    width: 40px;
    height: 5px;
    background: #efe110;
    border-radius: 5px;
    margin-bottom: 25px;
}

/* Grid rows */
.agtv-row {
    display: flex;
    gap: 24px;
    width: 100%;
}

.agtv-col {
    flex: 1;
}

/* Responsive stack */
@media (max-width: 900px) {
    .agtv-row {
        flex-direction: column;
        gap: 18px;
    }
}

/* Fields */
.agtv-field {
    margin-bottom: 18px;
}

.agtv-field label {
    font-weight: 600;
    font-size: 16px;
    color: #1f1f1f;
    margin-bottom: 6px;
    display: block;
}

.agtv-field input,
.agtv-field textarea,
.agtv-field select {
    width: 100%;
    padding: 14px 15px;
    border: 1.5px solid #dcdcdc;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.agtv-field textarea {
    min-height: 110px;
    resize: vertical;
}

.agtv-field input:focus,
.agtv-field textarea:focus,
.agtv-field select:focus {
    border-color: #303181;
    box-shadow: 0 0 0 3px rgba(48,49,129,0.15);
    outline: none;
}

/* Frequency radios */
.agtv-frequency {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.agtv-frequency label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
}

/* Submit button */
.agtv-submit,
.agtv-btn-primary {
    width: 100%;
    background: #303181;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.agtv-submit:hover,
.agtv-btn-primary:hover {
    background: #26256a;
    box-shadow: 0 5px 12px rgba(48,49,129,0.25);
}

.agtv-message {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
}

/* Link */
.agtv-link {
    color: #303181;
    text-decoration: none;
    font-weight: 500;
}

.agtv-link:hover {
    text-decoration: underline;
}

/* Dashboard profile card */
.agtv-profile-card {
    background: linear-gradient(135deg, #303181, #191b5a);
    color: #fff;
    padding: 35px;
    border-radius: 18px;
    margin: 40px auto 30px;
    max-width: 900px;
}

.agtv-profile-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.agtv-profile-main h2 {
    margin: 0 0 5px;
    font-size: 26px;
}

.agtv-profile-main p {
    margin: 0;
    opacity: 0.9;
}

.agtv-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.agtv-stat {
    background: rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
}

.agtv-stat-label {
    opacity: 0.8;
    margin-bottom: 3px;
}

.agtv-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.agtv-badge-green {
    background: #22c55e;
    color: #fff;
}

.agtv-badge-gray {
    background: #e5e7eb;
    color: #111827;
}

/* Payments table card */
.agtv-table-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    max-width: 900px;
    margin: 0 auto 60px;
}

.agtv-table-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    color: #111827;
}

.agtv-payments-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.agtv-payments-table th,
.agtv-payments-table td {
    padding: 10px 8px;
    text-align: left;
}

.agtv-payments-table th {
    background: #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
}

.agtv-payments-table tr:nth-child(even) td {
    background: #fafafa;
}

/* Login card reuse */
.agtv-login-wrapper {
    max-width: 500px;
    margin: 40px auto 60px;
}


/* Ensure donate button doesn't overflow on mobile */
#agtv-donate-submit {
    width: 100%;
    max-width: 100%;
    display: block;
}

@media (max-width: 600px) {
    #agtv-donate-submit {
        font-size: 18px;
        padding: 18px;
    }
}

/* Member dashboard container width */
.agtv-dashboard-wrapper {
    max-width: 900px;
    margin: 40px auto 60px;
}



/* Extra spacing on mobile to avoid keyboard / browser UI overlapping button */
@media (max-width: 480px) {
    .agtv-donate-container {
        padding-bottom: 120px !important;
    }

    #agtv-donate-submit {
        margin-bottom: 40px !important;
    }
}
