/**
 * Discord OAuth2 Styles
 */

/* Discord Button */
.btn-discord {
    background-color: #5865F2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s;
    width: 100%;
    margin-top: 20px;
}

.btn-discord:hover {
    background-color: #4752C4;
}

.btn-discord:active {
    background-color: #3C45A5;
}

.btn-discord:disabled {
    background-color: #7983F5;
    cursor: not-allowed;
    opacity: 0.8;
}

.discord-icon {
    width: 24px;
    height: 24px;
}

/* Discord Login Container */
.discord-login-container {
    text-align: center;
    padding: 20px 0;
}

.discord-login-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.discord-login-requirements {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error and Success Messages */
.form-error {
    background-color: rgba(255, 87, 87, 0.2);
    border-left: 4px solid #ff5757;
    color: #ff5757;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-success {
    background-color: rgba(75, 181, 67, 0.2);
    border-left: 4px solid #4bb543;
    color: #4bb543;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Add debug link style */
.login-debug-link {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.login-debug-link a {
    color: #5865f2;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.login-debug-link a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Troubleshooting section */
.troubleshooting-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #5865f2;
}

.troubleshooting-section h3 {
    margin-top: 0;
    font-size: 16px;
    color: #333;
}

.troubleshooting-steps {
    padding-left: 20px;
}

.troubleshooting-steps li {
    margin-bottom: 15px;
}

.troubleshooting-steps strong {
    color: #333;
}

.troubleshooting-steps p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #555;
}

.btn-small {
    display: inline-block;
    padding: 6px 12px;
    background-color: #5865f2;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.btn-small:hover {
    background-color: #4752c4;
    text-decoration: none;
} 