/* Wrapper & layout */
.albion-gform-wrapper {
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.albion-gform-card {
    max-width: 640px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    padding: 2.5rem 2.75rem;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

/* Titles */
.albion-gform-title {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #111827;
}

.albion-gform-subtitle {
    margin: 0 0 1.75rem;
    font-size: 0.98rem;
    color: #6b7280;
}

/* Form rows */
.albion-gform-row {
    margin-bottom: 1.4rem;
}

.albion-gform-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
}

/* Inputs */
.albion-gform-row input,
.albion-gform-row textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    box-sizing: border-box;
}

.albion-gform-row input::placeholder,
.albion-gform-row textarea::placeholder {
    color: #9ca3af;
}

/* Focused state */
.albion-gform-row input:focus,
.albion-gform-row textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Button row */
.albion-gform-actions {
    margin-top: 1.75rem;
    display: flex;
    justify-content: flex-start;
}

/* Button – white pill style */
.albion-gform-button {
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    background: #ffffff !important;             /* white button */
    color: #1f2937 !important;                  /* dark grey text */
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: 
        background 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.12s ease;
}

.albion-gform-button:hover {
    background: #f3f4f6;             /* light grey hover */
    color: #4b5563;                  /* grey text */
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.albion-gform-button:active {
    background: #e5e7eb;             /* slightly darker grey when pressed */
    color: #6b7280;                  /* muted grey text */
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}


/* Status / message text */
.albion-gform-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #10b981; /* success */
}

.albion-gform-status.is-error {
    color: #ef4444;
}

/* Responsive */
@media (max-width: 640px) {
    .albion-gform-card {
        padding: 1.75rem 1.5rem;
        border-radius: 18px;
    }

    .albion-gform-title {
        font-size: 1.5rem;
    }
}