/* Stone Global Auth Pages - Cosmic Design */

/* Container */
.auth-container {
    max-width: 420px;
    width: 90%;
    margin: 80px auto;
    padding: 40px;
    background: rgba(20, 20, 20, 0.6); /* Darker glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow effect */
.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(207, 169, 114, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Title */
.auth-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #cfa972 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #86868b;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #cfa972; /* Gold accent */
    box-shadow: 0 0 0 4px rgba(207, 169, 114, 0.1);
}

.form-group input:focus + label {
    color: #cfa972;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #cfa972 0%, #b08d55 100%);
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(207, 169, 114, 0.3);
}

.cta-button:active {
    transform: scale(0.98);
}

/* Social Login */
.social-login-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #333;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    gap: 10px;
}

.google-login-btn:hover {
    background: #f5f5f5;
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* Footer Links */
.form-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #86868b;
}

.form-footer a {
    color: #cfa972;
    text-decoration: none;
    transition: color 0.2s;
}

.form-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Messages */
.message {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.error-message {
    background: rgba(255, 69, 58, 0.15);
    color: #ff453a;
    border: 1px solid rgba(255, 69, 58, 0.3);
}

.success-message {
    background: rgba(48, 209, 88, 0.15);
    color: #30d158;
    border: 1px solid rgba(48, 209, 88, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .auth-container {
        width: 95%;
        margin: 40px auto;
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}
