.rotating-captcha-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.captcha-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Lockout Message */
.lockout-message {
    text-align: center;
    padding: 40px 20px;
}

.lockout-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.lockout-message h3 {
    color: #991b1b;
    font-size: 24px;
    margin: 0 0 15px 0;
}

.lockout-message p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
}

.lockout-timer {
    margin-top: 20px;
    padding: 15px;
    background: #fee2e2;
    border-radius: 6px;
    color: #991b1b;
    font-weight: 600;
}

/* Form Fields */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
}

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

/* CAPTCHA Section */
.captcha-section {
    margin: 0 0 25px 0;
    padding: 25px;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.captcha-section h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #1f2937;
}

.captcha-instruction {
    margin: 0 0 20px 0;
    color: #6b7280;
    font-size: 14px;
}

.captcha-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.target-indicator {
    text-align: center;
}

.target-arrow {
    font-size: 60px;
    color: #4f46e5;
    line-height: 1;
    margin-bottom: 10px;
}

.target-indicator span {
    display: block;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.image-rotator {
    text-align: center;
}

.rotating-image {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.rotation-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.rotate-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
    line-height: 1;
}

.rotate-btn:hover {
    background: #4338ca;
    transform: scale(1.05);
}

.rotate-btn:active {
    transform: scale(0.95);
}

/* Attempts Remaining */
.attempts-remaining {
    margin-top: 15px;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 6px;
}

.attempts-remaining.warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

/* CAPTCHA Status */
.captcha-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.captcha-status.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Confirm Button */
.confirm-btn {
    width: 100%;
    background: #4f46e5;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.confirm-btn:hover:not(:disabled) {
    background: #4338ca;
}

.confirm-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Form Message */
.form-message {
    margin: 20px 0;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: #4f46e5;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover:not(:disabled) {
    background: #4338ca;
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 600px) {
    .captcha-form {
        padding: 20px;
    }
    
    .captcha-display {
        flex-direction: column;
        gap: 20px;
    }
    
    .target-arrow {
        font-size: 48px;
    }
    
    .lockout-icon {
        font-size: 48px;
    }
    
    .lockout-message h3 {
        font-size: 20px;
    }
}
