﻿
/* Login Area */
.log-in-area {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

/* Contact Form */
.contact-form-action {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .contact-form-action:hover {
        transform: translateY(-5px);
    }

.form-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 10px !important;
}

.form-desc {
    color: #7f8c8d;
    font-size: 16px;
}

/* Social Buttons - Modern Design */
.social-login-section {
    margin-bottom: 30px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    height: 52px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

    .social-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: 0.5s;
    }

    .social-btn:hover::before {
        left: 100%;
    }

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

/* Google Button */
.google-btn {
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    color: white;
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
}

    .google-btn:hover {
        background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
        color: white;
    }

/* Facebook Button */
.facebook-btn {
    background: linear-gradient(135deg, #1877F2, #0D47A1);
    color: white;
}

    .facebook-btn:hover {
        background: linear-gradient(135deg, #166FE5, #0B3D91);
        color: white;
    }

/* Microsoft Button */
.microsoft-btn {
    background: linear-gradient(135deg, #00A4EF, #7FBA00, #FFB900, #F25022);
    color: white;
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
}

    .microsoft-btn:hover {
        background: linear-gradient(135deg, #00A4EF, #7FBA00, #FFB900, #F25022);
        color: white;
    }

/* Twitter Button */
.twitter-btn {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9);
    color: white;
}

    .twitter-btn:hover {
        background: linear-gradient(135deg, #1A91DA, #0C7AB8);
        color: white;
    }

/* Default Social Button */
.default-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

    .default-btn:hover {
        background: linear-gradient(135deg, #5a6fd8, #6a4290);
        color: white;
    }

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

    .social-icon svg,
    .social-icon i {
        color: white;
        font-size: 18px;
    }

.social-label {
    font-size: 15px;
    white-space: nowrap;
    font-weight: 500;
}

/* Separator */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e0e6ed;
    }

.separator-text {
    padding: 0 20px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    background: white;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    color: #34495e;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    height: 48px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

/* Input Group for Password */
.input-group {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e0e6ed;
    transition: all 0.3s ease;
}

    .input-group:focus-within {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .input-group .form-control {
        border: none;
    }

.input-group-text {
    background: #f8fafc;
    border: none;
    cursor: pointer;
    padding: 0 16px;
    color: #64748b;
    transition: all 0.3s ease;
}

    .input-group-text:hover {
        background: #e2e8f0;
        color: #475569;
    }

/* Remember Me & Forgot Password */
.form-check-input {
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: #667eea;
        border-color: #667eea;
    }

.form-check-label {
    color: #4a5568;
    font-size: 14px;
    cursor: pointer;
}

.text-primary {
    color: #667eea !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .text-primary:hover {
        color: #764ba2 !important;
        text-decoration: underline;
    }

/* Login Button */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    height: 52px;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left: 4px solid #2ecc71;
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.alert .d-flex {
    align-items: flex-start;
}

/* Animation */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-action {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-action {
        padding: 25px;
        margin: 0 15px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-desc {
        font-size: 14px;
    }

    .social-btn {
        padding: 12px 16px;
        height: 48px;
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 15px;
        height: 48px;
    }
}

@media (max-width: 576px) {
    .page-title-area {
        padding: 40px 0;
    }

    .page-title-content h2 {
        font-size: 28px;
    }

    .contact-form-action {
        padding: 20px;
    }

    .social-login-section .row.g-3 {
        --bs-gutter-y: 0.75rem;
    }

    .form-title {
        font-size: 22px;
    }

    .form-control {
        padding: 10px 14px;
        height: 44px;
    }
}
