/* JC Discord Auth - Frontend Styles */

.jc-discord-login-wrapper {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.jc-discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #5865F2;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
}

.jc-discord-login-btn:hover {
    background: #4752C4;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.4);
}

.jc-discord-login-btn:active {
    background: #3C45A5;
}

.jc-discord-login-btn .discord-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.jc-discord-login-btn .discord-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.jc-discord-login-btn .discord-label {
    white-space: nowrap;
}

/* Error messages on login page */
.jc-discord-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
    border: 1px solid #f5c6cb;
}

.jc-discord-error a {
    color: #721c24;
    font-weight: 600;
    text-decoration: underline;
}

.jc-discord-error a:hover {
    color: #491217;
}

/* Divider text */
.jc-discord-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
}

.jc-discord-divider::before,
.jc-discord-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.jc-discord-divider:not(:empty)::before {
    margin-right: 10px;
}

.jc-discord-divider:not(:empty)::after {
    margin-left: 10px;
}
