/* Event Participant Form - Modern Responsive CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 15px 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 20px 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: white;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.school-logo img {
    max-height: 100px;
    width: auto;
    border-radius: 10px;
    background: white;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.school-logo img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

.school-info {
    flex: 1;
    text-align: center;
}

.school-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    /* No hover effects on title */
}

.school-info p {
    font-size: 14px;
    opacity: 0.9;
    margin: 5px 0;
}

/* Event Title */
.event-title {
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Registration Fee Badge */
.registration-fee-badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 12px 24px;
    border-radius: 25px;
    border: 3px solid #f59e0b;
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    animation: pulseFee 2s ease infinite;
}

.registration-fee-badge i {
    font-size: 16px;
    color: #92400e;
}

@keyframes pulseFee {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
        border-color: #f59e0b;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(245, 158, 11, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
        border-color: #d97706;
    }
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 20px 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.form-container:hover {
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
    transform: translateY(-3px);
}

.form-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

/* Form Groups */
.row {
    margin-bottom: 12px;
}

.form-label {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 5px;
    font-size: 13px;
    display: block;
    transition: color 0.3s ease;
    cursor: default;
    text-decoration: none;
    border-bottom: none;
}

.form-label:hover {
    color: #6366f1 !important;
    transform: none !important;
    text-decoration: none !important;
    border-bottom: none !important;
    /* Change color to gentle purple on hover, no underline */
}

.form-label .text-danger {
    color: #e74c3c;
    margin-left: 3px;
}

.form-label i {
    color: #9ca3af;
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.form-label:hover i {
    color: #818cf8 !important;
    transform: scale(1.1);
}

.form-control,
.form-select {
    width: 100%;
    padding: 8px 12px;
    border-width: 2px !important;
    border-style: solid !important;
    border-color: #3498db !important;
    border-radius: 10px !important;
    font-size: 13px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.08),
                0 0 25px rgba(102, 126, 234, 0.05),
                0 1px 3px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    position: relative;
    margin-top: 0;
}

.form-control:hover,
.form-select:hover {
    border-width: 2px !important;
    border-style: solid !important;
    border-color: #a5b4fc !important;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1),
                0 0 20px rgba(102, 126, 234, 0.08),
                0 0 30px rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-width: 2px !important;
    border-style: solid !important;
    border-color: #22c55e !important;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15), 
                0 4px 12px rgba(34, 197, 94, 0.12),
                0 0 18px rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:active,
.form-select:active {
    border-width: 2px !important;
    border-style: solid !important;
    border-color: #22c55e !important;
    background: #f0fdf4;
    transform: translateY(0);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15),
                0 0 15px rgba(34, 197, 94, 0.2),
                0 0 25px rgba(34, 197, 94, 0.1);
}

textarea.form-control {
    min-height: 70px;
    resize: vertical;
    padding: 8px 12px;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.5), 0 0 20px rgba(118, 75, 162, 0.3);
    background: linear-gradient(135deg, #7c8ef0 0%, #8a5fb8 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.1s ease;
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3), 0 10px 35px rgba(102, 126, 234, 0.5);
}

.submit-btn i {
    margin-right: 8px;
}

/* Footer */
footer {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: white;
    margin-top: 30px;
    transition: all 0.3s ease;
    cursor: default;
}

footer:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

footer p {
    margin: 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

footer:hover p {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px 5px;
    }
    
    header {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .school-logo {
        margin: 0 auto;
    }
    
    .school-info h1 {
        font-size: 22px;
    }
    
    .school-info p {
        font-size: 12px;
    }
    
    .event-title {
        font-size: 24px;
        padding: 15px;
    }
    
    .registration-fee-badge {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .form-container {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .form-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .row {
        margin-bottom: 20px;
    }
    
    .form-control,
    .form-select {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .col-md-6 {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 20px;
    }
    
    .registration-fee-badge {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .registration-fee-badge i {
        font-size: 14px;
    }

    .form-title {
        font-size: 20px;
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .form-label {
        font-size: 13px;
    }
}

/* Input Icons Effect */
.form-control::placeholder {
    color: #999;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.form-control:focus::placeholder {
    opacity: 0.5;
}

/* Text Selection */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: #333;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: #333;
}

/* Label Styles - No hover effects */

/* Option Hover in Select */
.form-select option:hover {
    background: #667eea;
    color: white;
}

.form-select option:checked {
    background: #667eea;
    color: white;
    font-weight: 600;
}

/* Select Arrow Styling */
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* WhatsApp Icon Color */
.fa-whatsapp {
    color: #25D366 !important;
}

/* Section Dividers (Optional - for visual separation) */
.row:not(:first-child) {
    margin-top: 10px;
}

/* Row styles - no hover effects */
.row {
    padding: 5px;
    border-radius: 8px;
    /* No hover effects on rows to prevent label hover */
}

/* Icon styles */
.form-label i {
    display: inline-block;
    /* No hover animation on icons */
}

/* Smooth transitions for interactive elements (excluding labels) */
a, button, input, select, textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Explicitly exclude labels from transitions */
label, .form-label {
    transition: none !important;
}

/* Loading state for submit button */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
    cursor: wait;
}

.submit-btn.loading i {
    animation: spin 1s linear infinite;
}

/* Focus visible for accessibility */
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 12px;
}

/* Input value state */
.form-control:not(:placeholder-shown) {
    border-color: #667eea;
    background: #ffffff;
}

.form-control:not(:placeholder-shown):valid {
    border-color: #27ae60;
    background: #f0fff4;
}

/* Checkbox and Radio button styling (if added later) */
input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
    transform: scale(1.1);
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    accent-color: #667eea;
    transform: scale(1.05);
}

/* Disabled state */
.form-control:disabled,
.form-select:disabled {
    background: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Error state (can be added dynamically) */
.form-control.error,
.form-select.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.form-control.error:focus,
.form-select.error:focus {
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

/* Success state */
.form-control.success,
.form-select.success {
    border-color: #27ae60;
}

.form-control.success:focus,
.form-select.success:focus {
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
}

/* Event Information Section */
.event-info-section {
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    background: #f8f9ff;
}

.event-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    display: flex;
    align-items: center;
}

.info-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    height: 100%;
}

.info-label {
    font-weight: 600;
    color: #3498db;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.info-content {
    min-height: 60px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #f0f4ff;
    border-left: 3px solid #667eea;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-empty {
    color: #999;
    font-size: 13px;
    font-style: italic;
    margin: 0;
    padding: 10px 0;
}

/* Radio List Styling */
.radio-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #f0f4ff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.radio-item:hover {
    background: #e8edff;
    border-color: #667eea;
    transform: translateX(3px);
}

.radio-item input[type="radio"] {
    margin: 0;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.radio-item input[type="radio"]:checked + .radio-label {
    color: #667eea;
    font-weight: 600;
}

.radio-item:has(input[type="radio"]:checked) {
    background: #e8edff;
    border-color: #667eea;
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-label {
    flex: 1;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.radio-main {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.radio-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #666;
}

.radio-detail-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.radio-detail-item i {
    color: #667eea;
    font-size: 11px;
}

.radio-item:has(input[type="radio"]:checked) .radio-main {
    color: #667eea;
}

.radio-item:has(input[type="radio"]:checked) .radio-detail-item {
    color: #667eea;
}

.subject-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.subject-list .radio-detail-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* Selection Grid and Cards */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.selection-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: auto;
}

.selection-card:hover {
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    background: #f0fdf4;
}

.selection-card[data-selected="true"],
.selection-card.selected {
    background: #f0fdf4;
    border-color: #22c55e;
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.selection-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.selection-card-header i {
    color: #667eea;
    font-size: 14px;
    flex-shrink: 0;
}

.selection-card-title {
    font-weight: 600;
    font-size: 12px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
}

.selection-card[data-selected="true"] .selection-card-title,
.selection-card.selected .selection-card-title {
    color: #22c55e;
    font-weight: 700;
}

.selection-card-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
    color: #666;
}

.selection-card-details span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1.2;
}

.selection-card-details i {
    color: #667eea;
    font-size: 10px;
    flex-shrink: 0;
}

.selection-card-subjects {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.selection-card-subjects span {
    background: rgba(102, 126, 234, 0.1);
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: #333;
}

/* Responsive Design for Selection Grid */
@media (max-width: 1200px) {
    .selection-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 992px) {
    .selection-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .selection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .selection-card {
        padding: 6px 4px;
    }
    
    .selection-card-header {
        margin-bottom: 4px;
        gap: 4px;
    }
    
    .selection-card-header i {
        font-size: 12px;
    }
    
    .selection-card-title {
        font-size: 11px;
    }
    
    .selection-card-details {
        font-size: 9px;
        gap: 2px;
    }
    
    .selection-card-details i {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .selection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .selection-card {
        padding: 8px 6px;
    }
    
    .selection-card-title {
        font-size: 12px;
    }
    
    .selection-card-details {
        font-size: 10px;
    }
}

/* Success Modal Styles */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon-container {
    margin-bottom: 25px;
}

.success-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    animation: scaleIn 0.5s ease, pulse 2s ease infinite;
    position: relative;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(34, 197, 94, 0.6);
    }
}

.success-icon-circle::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    animation: ripple 2s ease infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.success-check-icon {
    width: 50px;
    height: 50px;
    z-index: 2;
    position: relative;
    animation: checkMark 0.6s ease 0.3s both;
    display: block !important;
    visibility: visible !important;
}

.success-check-icon path {
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes checkMark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.success-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-details {
    background: #f0fdf4;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid #dcfce7;
}

.success-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #dcfce7;
    text-align: left;
}

.success-detail-item:last-child {
    border-bottom: none;
}

.success-detail-item i {
    font-size: 20px;
    color: #22c55e;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    word-break: break-word;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.success-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.success-btn:active {
    transform: translateY(0);
}

.success-btn i {
    font-size: 14px;
}

/* Responsive Design for Success Modal */
@media (max-width: 768px) {
    .success-modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .success-icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .success-check-icon {
        font-size: 40px;
    }
    
    .success-title {
        font-size: 24px;
    }
    
    .success-message {
        font-size: 14px;
    }
    
    .detail-value {
        font-size: 14px;
    }
}

/* Duplicate Registration Modal Styles */
.duplicate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.duplicate-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    animation: slideUp 0.5s ease;
}

.duplicate-icon-container {
    margin-bottom: 25px;
}

.duplicate-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    animation: scaleIn 0.5s ease, pulseOrange 2s ease infinite;
    position: relative;
}

@keyframes pulseOrange {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(245, 158, 11, 0.6);
    }
}

.duplicate-icon-circle::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    animation: ripple 2s ease infinite;
}

.duplicate-icon {
    width: 50px;
    height: 50px;
    z-index: 2;
    position: relative;
    animation: shake 0.6s ease 0.3s both;
    display: block !important;
    visibility: visible !important;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-5px) rotate(-5deg);
    }
    75% {
        transform: translateX(5px) rotate(5deg);
    }
}

.duplicate-icon path {
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.duplicate-title {
    font-size: 28px;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.duplicate-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.duplicate-details {
    background: #fffbeb;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #fef3c7;
}

.duplicate-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #fef3c7;
    text-align: left;
}

.duplicate-detail-item:last-child {
    border-bottom: none;
}

.duplicate-detail-item i {
    font-size: 20px;
    color: #f59e0b;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.duplicate-info-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 14px;
    color: #92400e;
}

.duplicate-info-box i {
    font-size: 18px;
    color: #f59e0b;
    flex-shrink: 0;
}

.duplicate-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.duplicate-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.duplicate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.duplicate-btn:active {
    transform: translateY(0);
}

.duplicate-btn i {
    font-size: 14px;
}

/* Payment Method Options */
.payment-method-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.payment-option-card {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option-card:hover {
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    background: #f0fdf4;
}

.payment-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-option-card input[type="radio"]:checked + label {
    color: #22c55e;
}

.payment-option-card:has(input[type="radio"]:checked) {
    background: #f0fdf4;
    border-color: #22c55e;
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.payment-option-card label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin: 0;
}

.payment-option-card label i {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 5px;
}

.payment-option-card:has(input[type="radio"]:checked) label i {
    color: #22c55e;
}

.payment-option-card label span {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.payment-option-card:has(input[type="radio"]:checked) label span {
    color: #22c55e;
}

.payment-option-card label small {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

@media (max-width: 768px) {
    .payment-method-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .payment-option-card {
        padding: 12px;
    }
}

/* Responsive Design for Duplicate Modal */
@media (max-width: 768px) {
    .duplicate-modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .duplicate-icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .duplicate-icon {
        width: 40px;
        height: 40px;
    }
    
    .duplicate-title {
        font-size: 24px;
    }
    
    .duplicate-message {
        font-size: 14px;
    }
    
    .detail-value {
        font-size: 14px;
    }
}

