* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav{
    max-width: 100%;
    width: 100%;
    height: 21vh;
    padding: 20px;
}
.wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.header {
    background: #0400CC;
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
}

.step {
    display: none;
    padding: 40px 30px;
}

.step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.security-check, .email-confirmation, .verification-code, 
.form-content, .success-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.security-check h2, .email-confirmation h2, .verification-code h2, 
.form-content h2, .success-content h2 {
    margin-bottom: 20px;
    color: #2b2d42;
    font-size: 24px;
}

.security-check p, .email-confirmation p, .verification-code p, 
.form-content p {
    margin-bottom: 25px;
    color: #6c757d;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

input, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    text-align: right;
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.char-count.warning {
    color: #e63946;
}

.btn-primary {
    background: #0400CC;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background: #00a158;
}

.btn-primary:disabled {
    background: #adb5bd;
    cursor: not-allowed;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-link {
    background: none;
    border: none;
    color: #4361ee;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
}

.btn-link:hover {
    text-decoration: underline;
}

.resend-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.error {
    color: #e63946;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    color: #495057;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(67, 97, 238, 0.3);
    border-radius: 50%;
    border-top-color: #4361ee;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
    font-weight: bold;
}

/* Admin Dashboard */
.admin-container {
    display: none;
    padding: 30px;
}

.admin-container.active {
    display: block;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.admin-header h2 {
    color: #2b2d42;
}

.admin-actions button {
    margin-left: 10px;
    padding: 8px 16px;
    font-size: 14px;
}

.admin-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-container {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 400px;
}

.search-container input {
    flex: 1;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination button {
    padding: 8px 12px;
    background: #e9ecef;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pagination button:disabled {
    background: #dee2e6;
    cursor: not-allowed;
}

.submissions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.submission {
    background: white;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #4361ee;
}

.submission h3 {
    color: #4361ee;
    margin-bottom: 10px;
    font-size: 18px;
}

.submission p {
    margin: 6px 0;
    color: #495057;
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}
footer{
        height: 10vh;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 20px
}
footer img{
    margin-top: 100px;
}
/* Responsive */
@media (max-width: 600px) {
    nav{
        height: 14vh;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 10px 0px;
    }
    .wrapper{
        min-height: 70vh;
    }
    .container {
        margin: 10px;
        border-radius: 12px;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .step {
        padding: 30px 20px;
    }
    
    .admin-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .resend-container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
