/* Basic styles for the form */
.duck-wallet-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    border: 2px solid #EC6BBD; /* Pink border */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(236, 107, 189, 0.2); /* Soft shadow */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.duck-wallet-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(236, 107, 189, 0.3);
}

.duck-wallet-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #FFFFFF; /* White text */
}

.duck-wallet-form input[type="text"],
.duck-wallet-form input[type="submit"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #EC6BBD; /* Pink border */
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.duck-wallet-form input[type="text"] {
    background-color: rgba(30, 41, 59, 0.8); /* Dark background with transparency */
    color: #FFFFFF;
}

.duck-wallet-form input[type="text"]::placeholder {
    color: #CBD5E1; /* Light gray placeholder */
}

.duck-wallet-form input[type="text"]:focus {
    border-color: #EC6BBD;
    box-shadow: 0 0 8px rgba(236, 107, 189, 0.6);
    outline: none;
}

.duck-wallet-form input[type="submit"] {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.8), rgba(236, 107, 189, 0.8), rgba(0, 255, 163, 0.8)); /* Subtle Solana Rainbow */
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.5s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.duck-wallet-form input[type="submit"]:hover {
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.9), rgba(212, 70, 239, 0.9), rgba(0, 230, 184, 0.9));
    transform: scale(1.05);
}

.duck-wallet-form input[type="submit"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.duck-wallet-form input[type="submit"]:hover::before {
    top: 150%;
    left: 150%;
}

/* Form Messages */
.duck-form-message {
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.5s ease;
}

.duck-form-message.success {
    background-color: rgba(22, 163, 74, 0.9); /* Green for success */
    color: #FFFFFF;
}

.duck-form-message.error {
    background-color: rgba(239, 68, 68, 0.9); /* Red for error */
    color: #FFFFFF;
}

.duck-entry-count {
    margin-top: 25px;
    font-weight: 600;
    text-align: center;
    color: #00FFA3; /* Solana Teal */
    animation: fadeIn 1s ease;
}

/* Admin Page Styles */
.wrap h1 {
    color: #EC6BBD; /* Pink color for headings */
    font-weight: 700;
    margin-bottom: 20px;
}

.widefat th {
    background-color: #EC6BBD; /* Pink background for table headers */
    color: #FFFFFF;
    padding: 12px;
    text-align: left;
}

.widefat tr:nth-child(even) {
    background-color: #f9fafb; /* Light gray for even rows */
}

.widefat tr:nth-child(odd) {
    background-color: #FFFFFF; /* White for odd rows */
}

.widefat td {
    color: #1E293B;
    padding: 12px;
    border-bottom: 1px solid #EC6BBD;
}

.widefat a {
    color: #EC6BBD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widefat a:hover {
    color: #D946EF; /* Lighter pink on hover */
}

.wrap form input[type="text"],
.wrap form input[type="submit"] {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 15px;
    border: 1px solid #EC6BBD; /* Pink border */
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wrap form input[type="text"] {
    background-color: rgba(30, 41, 59, 0.8); /* Dark background with transparency */
    color: #FFFFFF;
}

.wrap form input[type="text"]::placeholder {
    color: #CBD5E1; /* Light gray placeholder */
}

.wrap form input[type="text"]:focus {
    border-color: #EC6BBD;
    box-shadow: 0 0 8px rgba(236, 107, 189, 0.6);
    outline: none;
}

.wrap form input[type="submit"] {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.8), rgba(236, 107, 189, 0.8), rgba(0, 255, 163, 0.8)); /* Subtle Solana Rainbow */
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.5s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.wrap form input[type="submit"]:hover {
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.9), rgba(212, 70, 239, 0.9), rgba(0, 230, 184, 0.9));
    transform: scale(1.05);
}

.wrap form input[type="submit"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.wrap form input[type="submit"]:hover::before {
    top: 150%;
    left: 150%;
}

/* Delete Button */
.wrap a.button {
    background-color: #EF4444; /* Red */
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.wrap a.button:hover {
    background-color: #DC2626; /* Darker Red */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
