﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #c0392b 0%, #950011 50%, #f39c12 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.3;
        z-index: 0;
    }

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease;
}

.login-header {
    background: linear-gradient(135deg, #c0392b 0%, #950011b5 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

    .login-header::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
        height: 40px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 20px 20px 0 0;
    }

.logo-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

    .logo-icon i {
        font-size: 40px;
        color: #c0392b;
    }

.login-header h1 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.login-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 10px 0 0;
    position: relative;
    z-index: 1;
}

.login-body {
    padding: 50px 40px 40px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #2c3e50;
        font-weight: 600;
        font-size: 14px;
    }

.input-group {
    position: relative;
}

    .input-group .input-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #95a5a6;
        font-size: 18px;
        z-index: 1;
    }

.form-control {
    width: 100%;
    padding: 14px 50px 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

    .form-control:focus {
        outline: none;
        border-color: #e74c3c;
        background: white;
        box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    }

    .form-control::placeholder {
        color: #bdc3c7;
    }

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-right: 5px
}

.form-check-label {
    color: #7f8c8d;
    cursor: pointer;
    margin-right: 8px;
}

.forgot-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .forgot-link:hover {
        color: #c0392b;
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #c0392b 0%, #950011 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e0e0e0;
    }

    .divider span {
        background: white;
        padding: 0 15px;
        color: #95a5a6;
        font-size: 13px;
        position: relative;
        z-index: 1;
    }

.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .social-btn.google {
        color: #DB4437;
    }

    .social-btn.facebook {
        color: #4267B2;
    }

    .social-btn.twitter {
        color: #1DA1F2;
    }

.signup-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #7f8c8d;
}

    .signup-link a {
        color: #e74c3c;
        text-decoration: none;
        font-weight: 700;
    }

        .signup-link a:hover {
            text-decoration: underline;
        }

.fire-extinguisher-decoration {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.fire-extinguisher-decoration-1 {
    top: 10%;
    left: 5%;
    font-size: 100px;
    color: white;
    transform: rotate(-15deg);
}

.fire-extinguisher-decoration-2 {
    bottom: 10%;
    right: 5%;
    font-size: 120px;
    color: white;
    transform: rotate(15deg);
}

@media (max-width: 768px) {
    .login-header {
        padding: 30px 20px;
    }

    .login-body {
        padding: 40px 25px 30px;
    }

    .login-header h1 {
        font-size: 20px;
    }

    .logo-icon {
        width: 70px;
        height: 70px;
    }

        .logo-icon i {
            font-size: 35px;
        }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .login-header {
        padding: 25px 15px;
    }

    .login-body {
        padding: 30px 20px 25px;
    }

    .form-control {
        padding: 12px 45px 12px 12px;
        font-size: 14px;
    }

    .btn-login {
        padding: 13px;
        font-size: 15px;
    }

    .fire-extinguisher-decoration {
        display: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-Form {
    border-radius: 50%;
    height: 100px;
    width: 100px
}
