.aa-spaypal-wrapper {
    max-width: 720px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    margin-top: 20px;
    border: 1px solid #e1e1e1;
}

.aa-spaypal-wrapper h1 {
    background: linear-gradient(90deg, #0073aa, #663399);
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.5em;
    margin: -30px -30px 30px -30px;
}

.aa-spaypal-wrapper input[type="text"],
.aa-spaypal-wrapper input[type="email"],
.aa-spaypal-wrapper textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 6px;
    background-color: #fff;
}

/* Updated select styling */
.aa-spaypal-wrapper select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 6px;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg"><path fill="%23333" d="M7 10L0 0h14L7 10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    color: #444;
}

.aa-spaypal-wrapper label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.aa-spaypal-wrapper .submit {
    margin-top: 20px;
}

#aa-shortcode-output {
    display: block;
    background: #f1f1f1;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin-top: 30px;
    border-radius: 8px;
}

#aa-shortcode {
    display: block;
    background: #fff;
    font-family: monospace;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccd0d4;
    width: 100%;
    margin-bottom: 10px;
}

.aa-copy-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #0073aa;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    float: none;
}

.aa-copy-button:hover {
    background: #005e8a;
    box-shadow: 0 6px 12px rgba(0, 94, 138, 0.5);
}

.aa-copy-button .dashicons {
    margin-right: 10px;
    font-size: 20px;
}

.aa-copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0073aa;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.aa-copy-tooltip.show {
    opacity: 1;
    pointer-events: auto;
}

.aa-error-message {
    background: #ffe0e0;
    color: #a00;
    border: 1px solid #cc0000;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.aa-hidden {
    display: none;
}

#aa-generate-shortcode {
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
}

#aa-generate-shortcode:hover {
    background: linear-gradient(90deg, #005e8a, #008cbf);
}

@media(max-width: 600px) {
    .aa-spaypal-wrapper {
        padding: 20px;
    }

    .aa-spaypal-wrapper h1 {
        font-size: 1.2em;
        padding: 12px 18px;
    }

    #aa-generate-shortcode {
        width: 100%;
        font-size: 15px;
    }
}
