.ap-student-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ap-student-login-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 420px;
    width: 100%;
}

.ap-student-login-header h2 {
    margin: 0 0 30px 0;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    color: #1e1e1e;
}

.ap-login-error,
.ap-login-success,
.ap-login-info {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.ap-login-error {
    background: #fef2f2;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.ap-login-success {
    background: #f0fdf4;
    border-left: 4px solid #00a32a;
    color: #00703c;
}

.ap-login-info {
    background: #eff6ff;
    border-left: 4px solid #2271b1;
    color: #014c8c;
}

.ap-login-error .dashicons,
.ap-login-success .dashicons,
.ap-login-info .dashicons {
    flex-shrink: 0;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ap-login-form-group {
    margin-bottom: 20px;
}

.ap-login-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.ap-login-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.ap-login-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ap-password-wrapper {
    position: relative;
}

.ap-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
}

.ap-toggle-password:hover {
    color: #333;
}

.ap-toggle-password .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.ap-login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.ap-login-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, #4facfe 0%, #0274be 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ap-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.ap-login-links {
    text-align: center;
    margin-top: 20px;
}

.ap-login-links a {
    color: #1375c7;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
}

.ap-login-links a:hover {
    text-decoration: underline;
    color: #5568d3;
}

@media (max-width: 480px) {
    .ap-student-login-container {
        padding: 30px 20px;
    }
}