/* public/assets/style.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --bg-gradient-start: #1c4b75;
    --bg-gradient-end: #0f152d;
    --card-bg: rgba(33, 40, 64, 0.95);
    --primary-blue: #4095bf;
    --primary-blue-hover: #357ca0;
    --accent-red: #d32f2f;
    --text-main: #ffffff;
    --text-secondary: #b0b8c4;
    --input-bg: rgba(255, 255, 255, 0.1);
    --input-border: rgba(255, 255, 255, 0.2);
    --radius: 12px;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.logo-cas {
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    /* Soft rounding instead of circle */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-wellhub {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-divider {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 1rem;
}

.main-container {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

h2 {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 400;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

input,
select {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 1rem;
    box-sizing: border-box;
    transition: 0.3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.15);
}

/* Placeholder color styling */
::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

:-moz-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.price-display {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-blue);
    border: 1px dashed var(--input-border);
}

/* --- PAYMENT METHOD STYLES --- */
.payment-options-container {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.payment-option-card {
    flex: 1;
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* Hide default radio */
.payment-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom Card Design */
.payment-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    color: var(--text-secondary);
}

.payment-option-content i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

/* Hover Effect */
.payment-option-card:hover .payment-option-content {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Checked State */
.payment-option-card input[type="radio"]:checked + .payment-option-content {
    background: rgba(64, 149, 191, 0.2); /* var(--primary-blue) com opacidade */
    border-color: var(--primary-blue);
    color: var(--text-main);
    box-shadow: 0 0 10px rgba(64, 149, 191, 0.3);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    /* Slightly tighter radius for buttons */
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s, background-color 0.2s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(1px);
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #81c784;
}

/* Admin Styles reuse */
.admin-table {
    width: 100%;
}

.admin-table th,
.admin-table td {
    color: var(--text-main);
    border-bottom: 1px solid var(--input-border);
}