.gqg-auth-wrap {
    max-width: 500px;
    margin: 50px auto;
}

.gqg-auth-container {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gqg-auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.gqg-auth-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
    color: #1a202c;
}

.gqg-auth-header p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.gqg-form-group {
    margin-bottom: 22px;
}

.gqg-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
    font-size: 14px;
}

.gqg-form-group .required {
    color: #d63638;
}

.gqg-form-group input[type="text"],
.gqg-form-group input[type="email"],
.gqg-form-group input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.gqg-form-group input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.gqg-form-group .description {
    margin: 6px 0 0 0;
    font-size: 13px;
    color: #718096;
    font-style: italic;
}

.gqg-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

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

.gqg-message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.gqg-message.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.gqg-form-actions {
    margin-top: 28px;
}

.gqg-form-actions button {
    width: 100%;
    padding: 13px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

.gqg-form-actions .button-primary {
    background: linear-gradient(135deg, #2271b1 0%, #1e5a8e 100%);
    border-color: #1e5a8e;
}

.gqg-form-actions .button-primary:hover {
    background: linear-gradient(135deg, #1e5a8e 0%, #135079 100%);
    border-color: #135079;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.gqg-form-actions .button-primary:active {
    transform: translateY(0);
}

.gqg-form-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.gqg-auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.gqg-auth-footer p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.gqg-auth-footer a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.gqg-auth-footer a:hover {
    color: #135079;
    text-decoration: underline;
}

/* Frontend Wrapper Styles */
.gqg-frontend-auth-wrapper {
    max-width: 500px;
    margin: 50px auto;
    padding: 0 20px;
}

.gqg-frontend-dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.gqg-dashboard-container {
    width: 100%;
}

.gqg-recent-quizzes {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.gqg-recent-quizzes h2 {
    margin: 0 0 25px 0;
    font-size: 22px;
    font-weight: 600;
    color: #1a202c;
}

.gqg-quizzes-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.gqg-quizzes-table thead {
    background: #f9fafb;
}

.gqg-quizzes-table th {
    font-weight: 600;
    color: #374151;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}

.gqg-quizzes-table td {
    padding: 14px 16px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.gqg-quizzes-table tbody tr:last-child td {
    border-bottom: none;
}

.gqg-quizzes-table tbody tr:hover {
    background: #f9fafb;
}

.gqg-text-muted {
    color: #9ca3af;
}

.gqg-frontend-auth-wrapper .gqg-auth-container {
    margin: 0 auto;
}

@media (max-width: 600px) {
    .gqg-auth-wrap {
        margin: 20px;
    }

    .gqg-auth-container {
        padding: 30px 20px;
    }

    .gqg-auth-header h1 {
        font-size: 24px;
    }

    .gqg-frontend-auth-wrapper,
    .gqg-frontend-dashboard-wrapper {
        margin: 20px auto;
    }
}
