﻿/* login.css */
body, html {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.login-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C45C26;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

    .login-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color:#C45C26; /* Light overlay for better contrast */
        z-index: 0;
    }

.login-form-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 40px;
    box-sizing: border-box;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.brand-name {
    color: #C45C26;
    margin-bottom: 10px;
    font-weight: 700;
}

.brand-name span {
    color: #000000
}

.signin-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.input-group {
    width: 100%;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control {
    height: 45px;
    border-left: none;
}

    .form-control:focus {
        box-shadow: none;
        border-color: #ced4da;
    }

.btn-primary {
    height: 45px;
    font-size: 16px;
    font-weight: 500;
    background-color: #2196F3;
    border-color: #2196F3;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #1976D2;
        border-color: #1976D2;
    }

.btn-block {
    width: 100%;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

    .signup-link a {
        color: #2196F3;
        text-decoration: none;
        font-weight: 500;
    }

        .signup-link a:hover {
            text-decoration: underline;
        }

.external-providers {
    margin-top: 20px;
}

.social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0;
    color: #aaa;
    font-size: 13px;
}

    .social-divider::before,
    .social-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e0e0e0;
    }

    .social-divider span {
        padding: 0 10px;
    }

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

    .btn-social:hover {
        opacity: 0.9;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        text-decoration: none;
    }

.btn-google {
    background-color: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
}

    .btn-google i {
        color: #4285F4;
    }

    .btn-google:hover {
        background-color: #f8f9fa;
        color: #3c4043;
    }

.btn-facebook {
    background-color: #1877F2;
    color: #fff;
}

    .btn-facebook:hover {
        background-color: #166fe5;
        color: #fff;
    }

.btn-default {
    background-color: #6c757d;
    color: #fff;
}

    .btn-default:hover {
        background-color: #5a6268;
        color: #fff;
    }

#menu-dropdown {
    display: none;
}

/* Forgot password link styling */
.form-group a {
    color: #2196F3;
    text-decoration: none;
    display: block;
    text-align: right;
    font-size: 14px;
    margin-top: 5px;
}

    .form-group a:hover {
        text-decoration: underline;
    }

/* Responsive styles */
@media (max-width: 480px) {
    .login-page {
        padding: 12px;
        align-items: flex-start;
    }

    .login-box {
        padding: 24px 20px;
    }

    .signin-title {
        font-size: 1.25rem;
    }

    .form-control,
    .btn-primary {
        height: 48px;
        font-size: 16px; /* prevents iOS zoom-on-focus */
    }
}
