/* Enhanced Login/Signup Modal Styles */
.modal-content {
    background: #222;
    border-radius: 15px;
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border: none;
    padding: 20px 25px;
    position: relative;
    background: #2d2d2d;
}

.modal-header .modal-title {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.modal-header .premium-icon {
    color: #ffd700;
    margin-right: 12px;
    font-size: 28px;
}

.modal-header .close {
    color: #ffd700;
    opacity: 0.8;
    text-shadow: none;
    transition: all 0.3s;
    position: absolute;
    right: 20px;
    top: 20px;
}

.modal-header .close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    position: relative;
}

#login, #sign-up, #reset {
    padding: 0;
    color: #e0e0e0;
    text-align: center;
}

/* Gold decorative elements */
.gold-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.gold-decoration.top-left {
    top: 20px;
    left: 20px;
    border-top: 2px solid #ffd700;
    border-left: 2px solid #ffd700;
}

.gold-decoration.top-right {
    top: 20px;
    right: 20px;
    border-top: 2px solid #ffd700;
    border-right: 2px solid #ffd700;
}

.gold-decoration.bottom-left {
    bottom: 20px;
    left: 20px;
    border-bottom: 2px solid #ffd700;
    border-left: 2px solid #ffd700;
}

.gold-decoration.bottom-right {
    bottom: 20px;
    right: 20px;
    border-bottom: 2px solid #ffd700;
    border-right: 2px solid #ffd700;
}

/* Login message */
.login-message {
    font-size: 16px;
    margin-bottom: 25px;
    color: #fff;
}

/* Social login buttons */
.social-login-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

/* Horizontal buttons (top) */
.social-login-buttons .btn {
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    flex: 1;
    min-width: 180px;
}

.social-login-buttons .btn i {
    font-size: 18px;
}

.social-login-buttons .btn-discord {
    background: #5865F2;
    color: #fff;
}

.social-login-buttons .btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.social-login-buttons .btn-google {
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
}

.social-login-buttons .btn-google:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* Full width buttons (vertical) */
.social-login-buttons .btn-discord-full {
    background: #5865F2;
    color: #fff;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    text-decoration: none;
}

.social-login-buttons .btn-discord-full:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.social-login-buttons .btn-google-full {
    background: #fff;
    color: #444;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.social-login-buttons .btn-google-full:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.login-separator {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.login-separator:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.login-separator span {
    position: relative;
    background: #222;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

/* Form styling */
.login form, .register form {
    max-width: 100%;
}

.login input[type="text"],
.login input[type="password"],
.login input[type="email"],
.register input[type="text"],
.register input[type="password"],
.register input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    margin-top: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus,
.register input[type="text"]:focus,
.register input[type="password"]:focus,
.register input[type="email"]:focus {
    border-color: #ffd700;
    outline: none;
    box-shadow: 0 0 5px rgba(255,215,0,0.3);
}

.login label, .register label {
    color: #ccc;
    font-weight: 500;
    width: 100%;
    display: block;
}

.forgetmenot {
    margin: 15px 0;
}

.forgetmenot label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
}

.forgetmenot input[type="checkbox"] {
    margin-right: 8px;
}

.wp-submit {
    width: 100%;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #000 !important;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.wp-submit:hover {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

/* Navigation links */
.nav-links {
    margin-top: 20px;
    text-align: center;
}

.nav, .backtoblog {
    text-align: center;
    margin-top: 15px;
}

.nav a, .backtoblog a {
    color: #ffd700;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav a:hover, .backtoblog a:hover {
    color: #fff;
}

.nav .separator {
    color: #666;
    margin: 0 8px;
}

/* Messages */
.message {
    text-align: center;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 14px;
}

/* Error messages */
.login .message.error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Success messages */
.login .message.success {
    color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
    border: 1px solid rgba(81, 207, 102, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Modal animation */
.modal.fade .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .social-login-buttons .btn {
        padding: 10px;
        font-size: 14px;
    }
}

/* Fix for login modal */
#form-login .modal-body, 
#form-sign-up .modal-body, 
#form-reset .modal-body {
    padding: 30px;
}

#form-login #login, 
#form-sign-up #sign-up, 
#form-reset #reset {
    padding: 0;
}

/* Direct link buttons */
.btn-direct-link {
    display: inline-block;
    color: #fff;
    font-weight: 600;
    padding: 5px 20px;
    border: 2px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-direct-link:hover,
.btn-direct-link:active,
.btn-direct-link:focus {
    cursor: pointer;
    background-color: #0f0f0f;
    border-color: #0f0f0f;
    color: #fff;
    text-decoration: none;
} 