/* style.css - v3.1 */

/* Main container for the plugin */
.spin-wheel-container {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1100px;
    margin: 2rem auto;
}

/* Reusable card style */
.spin-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#wheelCanvas {
    display: block;
    margin: 0 auto;
    border: 8px solid #C59B5E;
    border-radius: 50%;
    background: #fff;
    max-width: 500px;
}

/* Unified styling for all text inputs */
#nameInput,
#submitterName,
#submitterEmail {
    padding: 12px;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#nameInput:focus,
#submitterName:focus,
#submitterEmail:focus {
    outline: none;
    border-color: #c59b5e;
    box-shadow: 0 0 0 3px rgba(197, 155, 94, 0.2);
}

/* Consistent button styling */
.custom-button {
    padding: 12px 24px;
    background: #c59b5e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    flex-shrink: 0;
}
.custom-button.secondary {
    background: #6c757d;
}
.custom-button.secondary:hover:not(:disabled) {
    background: #5a6268;
}

.custom-button:hover:not(:disabled) {
    background: #a5804d;
    transform: scale(1.03);
}

.custom-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* CHANGE: Increased font-weight for bolder tabs */
.tab-button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600; /* Was 500, now 600 for semi-bold */
    color: #6b7280;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.tab-button:hover {
    color: #111827;
}
.tab-button.active {
    color: #c59b5e;
    border-color: #c59b5e;
}
.tab-content {
    padding-top: 1rem;
}

/* Styling for list items with delete icon */
#nameList li, #resultsList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}
#resultsList li {
    color: #6b7280;
}
.delete-name {
    color: #ef4444;
    cursor: pointer;
    font-weight: bold;
    padding: 0 8px;
    font-size: 20px;
    line-height: 1;
    transition: color 0.2s;
}
.delete-name:hover {
    color: #b91c1c;
}

/* Styling for the popup modals */
.popup-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}