* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); 
    min-height: 100vh; 
}

header { 
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e); 
    color: white; 
    padding: 1rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

header h1 { 
    font-size: 1.8em; 
}

.back-btn { 
    background: rgba(255,255,255,0.2); 
    color: white; 
    border: 2px solid rgba(255,255,255,0.3); 
    padding: 10px 20px; 
    border-radius: 25px; 
    cursor: pointer; 
    font-size: 1em; 
    transition: all 0.3s ease; 
}

.back-btn:hover { 
    background: rgba(255,255,255,0.3); 
    transform: translateY(-2px); 
}

main { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 2rem; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    align-items: start; 
}

.registration-form, .attendee-list { 
    background: white; 
    padding: 2rem; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

h2 { 
    color: #ff6b6b; 
    margin-bottom: 1.5rem; 
    font-size: 1.5em; 
}

label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-weight: 600; 
    color: #555; 
}

.phone-input label {
    margin-top: 1rem;
}

input, select { 
    width: 100%; 
    padding: 12px; 
    border: 2px solid #e1e5e9; 
    border-radius: 8px; 
    font-size: 1em; 
    transition: border-color 0.3s ease; 
    margin-bottom: 0.5rem; 
}

input:focus, select:focus { 
    outline: none; 
    border-color: #ff6b6b; 
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1); 
}

.error { 
    color: #e74c3c; 
    font-size: 0.9em; 
    display: block; 
    min-height: 1.2em; 
}

button[type="submit"] { 
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e); 
    color: white; 
    border: none; 
    padding: 15px 30px; 
    border-radius: 25px; 
    font-size: 1.1em; 
    font-weight: 600; 
    cursor: pointer; 
    width: 100%; 
    transition: all 0.3s ease; 
    margin-top: 1rem; 
}

button[type="submit"]:disabled { 
    background: #ccc; 
    cursor: not-allowed; 
    transform: none; 
}

button[type="submit"]:not(:disabled):hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(255,107,107,0.3); 
}

.table-container { 
    max-height: 400px; 
    overflow-y: auto; 
    margin-top: 1rem; 
    border-radius: 10px; 
    border: 1px solid #e1e5e9; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
    background: white; 
}

th, td { 
    padding: 12px; 
    text-align: left; 
    border-bottom: 1px solid #e1e5e9; 
}

th { 
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e); 
    color: white; 
    font-weight: 600; 
    position: sticky; 
    top: 0; 
}

tr:hover { 
    background: #f8f9ff; 
}

.action-btn { 
    background: #27ae60; 
    color: white; 
    border: none; 
    padding: 6px 12px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 0.9em; 
    margin-right: 5px; 
    transition: all 0.3s ease; 
}

.action-btn:hover { 
    transform: translateY(-1px); 
}

.delete-btn { 
    background: #e74c3c !important; 
}

.delete-btn:hover { 
    background: #c0392b !important; 
}

.update-btn { 
    background: #3498db !important; 
}

.update-btn:hover { 
    background: #2980b9 !important; 
}

@media (max-width: 768px) { 
    main { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    } 
    
    header { 
        flex-direction: column; 
        gap: 1rem; 
    } 
}