.gaelta-withdrawal-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.gaelta-withdrawal-form form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.gaelta-withdrawal-form p {
    margin: 0;
}

.gaelta-withdrawal-form label {
    font-weight: 600;
    color: #111111;
    display: inline-block;
    margin-bottom: 4px;
}

.gaelta-withdrawal-form input[type="text"],
.gaelta-withdrawal-form input[type="email"],
.gaelta-withdrawal-form input[type="date"],
.gaelta-withdrawal-form input[type="url"],
.gaelta-withdrawal-form select,
.gaelta-withdrawal-form textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 10px;
    box-sizing: border-box;
}

.gaelta-withdrawal-form input[type="text"]:focus,
.gaelta-withdrawal-form input[type="email"]:focus,
.gaelta-withdrawal-form input[type="date"]:focus,
.gaelta-withdrawal-form select:focus,
.gaelta-withdrawal-form textarea:focus {
    outline: none;
    border-color: #111111;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.15);
}

.gaelta-withdrawal-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Withdrawal button styles (selectable in settings). Rounded a bit by default. */
.gaelta-btn {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font: inherit;
    line-height: 1.4;
    text-decoration: none;
}

.gaelta-btn--dark,
.gaelta-btn--dark:visited {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.gaelta-btn--dark:hover,
.gaelta-btn--dark:focus {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.gaelta-btn--light,
.gaelta-btn--light:visited {
    background: #ffffff;
    border-color: #111111;
    color: #111111;
}

.gaelta-btn--light:hover,
.gaelta-btn--light:focus {
    background: #f2f2f2;
    border-color: #000000;
    color: #000000;
}

.gaelta-withdrawal-form .woocommerce-error,
.gaelta-withdrawal-form .woocommerce-message {
    margin-bottom: 12px;
}

.gaelta-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.gaelta-withdrawal-form .gaelta-confirm label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
}

.gaelta-withdrawal-form .gaelta-confirm input[type="checkbox"] {
    margin-top: 3px;
}

.gaelta-confirm-summary {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 16px;
}

.gaelta-confirm-summary th,
.gaelta-confirm-summary td {
    text-align: left;
    vertical-align: top;
    padding: 8px 10px;
    border-bottom: 1px solid #ececec;
}

.gaelta-confirm-summary th {
    width: 42%;
    font-weight: 600;
    color: #111111;
}

.gaelta-confirm-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gaelta-edit-link {
    text-decoration: underline;
}

.gaelta-withdrawal-footer-link {
    text-align: center;
    padding: 10px 16px;
}

.gaelta-withdrawal-footer-link a {
    color: inherit;
    text-decoration: underline;
}

@media (min-width: 720px) {
    .gaelta-withdrawal-form form {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
    }

    .gaelta-withdrawal-form .gaelta-full {
        grid-column: 1 / -1;
    }
}
