* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #1e3a5f;
    --secondary: #ff7b00;
    --light: #f5f7fa;
    --dark: #2c3e50;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --gray: #95a5a6;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.container {
    width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    align-items: center;
}

header {
    background: linear-gradient(135deg, var(--primary), #2c5282);
    color: white;
    padding: 15px 0;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
}

.logo i {
    margin-right: 10px;
    color: var(--secondary);
    font-size: 24px;
}

.register-container, .info-container, .pending-container {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}

.register-container::before, .info-container::before, .pending-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
}

h2 i {
    margin-right: 10px;
    color: var(--secondary);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
}

label i {
    margin-right: 8px;
    width: 18px;
    color: var(--secondary);
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.2);
    outline: none;
}

button {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    font-weight: 600;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

button i {
    margin-right: 8px;
}

button:hover {
    background-color: #e56a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.message {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: rgba(231, 76, 60, 0.15);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info {
    background-color: rgba(52, 152, 219, 0.15);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.register-info {
    background-color: rgba(30, 58, 95, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.register-info p {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 14px;
}

.register-info i {
    color: var(--secondary);
    margin-right: 6px;
}

.student-info {
    background-color: rgba(46, 204, 113, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.student-info h3 {
    color: var(--success);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-info h3 i {
    margin-right: 8px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-label {
    font-weight: 600;
    color: var(--primary);
}

.info-value {
    color: var(--dark);
}

.qr-section {
    text-align: center;
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(255, 123, 0, 0.05);
    border-radius: 8px;
}

.qr-section h3 {
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.qr-section h3 i {
    margin-right: 8px;
    color: var(--secondary);
}

.qr-code {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 12px;
}

.qr-code img {
    max-width: 100%;
    height: auto;
}

.brand-info {
    margin-top: 12px;
    color: var(--gray);
    font-size: 13px;
    margin-top: 30px;
}

.pending-info {
    text-align: center;
    padding: 20px;
}

.pending-info i {
    font-size: 48px;
    color: var(--warning);
    margin-bottom: 15px;
}

.pending-info h3 {
    color: var(--warning);
    margin-bottom: 15px;
}

.pending-info p {
    margin-bottom: 10px;
    color: var(--dark);
}

.admin-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.admin-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.admin-links a i {
    margin-right: 5px;
}

.admin-links a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

footer {
    background-color: var(--primary);
    color: white;
    padding: 15px 0;
    text-align: center;
    border-radius: 0 0 10px 10px;
    margin-top: 20px;
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content p {
    margin-bottom: 8px;
    font-size: 14px;
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }

    .register-container, .info-container, .pending-container {
        padding: 20px 15px;
    }

    h2 {
        font-size: 18px;
    }

    .logo {
        font-size: 18px;
    }

    .logo i {
        font-size: 20px;
    }

    /* .info-item {
        flex-direction: column;
        text-align: center;
    } */

    .info-label, .info-value {
        margin-bottom: 5px;
    }
}