/* registration.css - Tournament Registration Form Styles */

* {
    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: 20px;
}


.registration_container {
    max-width: 800px;
    margin: 90px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.registration_header {
    background: linear-gradient(135deg, #4221E5 0%, #C114CC 100%);
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.registration_header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,255,255,0.1) 45deg, transparent 90deg);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.registration_header-content {
    position: relative;
    z-index: 1;
}

.registration_header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.registration_header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.registration_header a, a:hover, a:visited, a:active {
    color: #ffffff;
    text-decoration: none;
}

.form-container {
    padding: 40px;
}

.section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
	line-height: 1.0; 
}

.section:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.section-title {
    font-size: 1.4rem;
    color: #4121E5;
	font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

input, select {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus, select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.team-leader-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
}

.consent-section {
    background: #e8f5e8;
    border: 2px solid #27ae60;
    border-radius: 15px;
    padding: 25px;
    margin: 0px 0;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 15px;
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.consent-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
}

.cost-info {
    background: linear-gradient(135deg, #f3e5ff, #f3e5ff);
    border: 2px solid #8518da;
    color: #000000;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 20px 0 20px;
    line-height: 1;
}

.cost-info h3 {
    font-size: 1.2rem;
    color: #4121E5;
    margin-bottom: 10px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #C114CC, #4221E5);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.reg {
	margin: 25px auto;
	text-align: center;
	
}
.prizes {
	
}
.prize {
	
}
.tournament_info_line a {
    background: linear-gradient(135deg, #C114CC, #4221E5);
    color: white !important;
    border: none;
    padding: 12px;
	margin: 0 auto 20px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.tournament_info_line a:visited {
    color: white !important;
}
.tournament_info_link {
	text-align: center;
	margin: auto;
}
.tournament_info_link a {
    color: #C114CC;
	font-size: 1.2rem;
    font-weight: bold;
}
.tournament_info_link a:visited {
    color: #C114CC;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.4);
}


.submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.admin-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e8ed;
}

.admin-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.admin-link a:hover {
    text-decoration: underline;
}

.leaderboard-link {
    text-align: center;
    margin-top: 15px;
}

.leaderboard-link a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
}

.leaderboard-link a:hover {
    text-decoration: underline;
}

.error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal h2 {
    color: #27ae60;
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal p {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 30px;
}

.close-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

.tournament_cover_image img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important; /* Optional: prevents upscaling */
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .container {
        margin: 10px;
    }
}