:root {
    --bg-light: #f4f7ff;
    --dark: #000;
    --text-muted: #666;
    --accent: #1a73e8;
    --white: #ffffff;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    padding: 20px 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    margin-left: -91px;
}

/* Center Section */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 70vh;
}

/* Card */
.login-card {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

/* Title */
.login-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* Social Buttons */
.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
}

.social-btn:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.social-btn img {
    width: 18px;
}

/* Form */
.login-form {
    text-align: left;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Inputs */
.input-group input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.input-group input:focus {
    border-bottom: 1px solid var(--accent);
}

/* Password */
.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    right: 5px;
    top: 12px;
    color: #bbb;
    cursor: pointer;
}

/* Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin: 15px 0 25px;
}

.form-options input {
    margin-right: 5px;
}

.forgot-link {
    color: var(--dark);
    text-decoration: none;
}

/* Button */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    opacity: 0.85;
}

/* Bottom Text */
.signup-prompt {
    margin-top: 20px;
    font-size: 0.9rem;
}

.signup-prompt a {
    color: var(--accent);
    text-decoration: none;
}


/* ===================================
   FOOTER
=================================== */

footer {
    background: #050505;
    color: #fff;
    padding: 60px 5% 25px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-col {
    min-width: 0;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-col h4 {
    font-size: 20px;
}

.footer-col p {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 8px;
}

/* Contact input */

.footer-input-box {
    display: flex;
    gap: 10px;
    margin: 18px 0 20px;
    width: 100%;
}

.footer-input-box input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 14px 16px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: #162033;
    color: #fff;
    font-size: 14px;
}

.footer-input-box input::placeholder {
    color: #9aa5b1;
}

.footer-input-box button {
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    background: #22314a;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

/* Social icons */

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: .3s;
}

.social-icons a:nth-child(1) {
    background: #1877f2;
}

.social-icons a:nth-child(2) {
    background: #e1306c;
}

.social-icons a:nth-child(3) {
    background: #25d366;
}

.social-icons a:nth-child(4) {
    background: #0a66c2;
}

.social-icons a:hover {
    transform: translateY(-4px);
}

/* Footer bottom */

.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: #cfcfcf;
}

.footer-bottom-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-info span {
    font-size: 13px;
    color: #cfcfcf;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Footer links */

.footer-col a {
    display: block;
    color: #cfcfcf;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: .3s;
}

.footer-col a:hover,
.footer-bottom-info a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-tagline {
    color: #fff !important;
    font-weight: 600;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-wrap: anywhere;
}

.footer-contact p i {
    min-width: 16px;
}

.footer-bottom-info a {
    color: #cfcfcf;
    font-size: 13px;
    text-decoration: none;
}


/* ===================================
   TABLET RESPONSIVE
=================================== */

@media (max-width: 992px) {

    footer {
        padding: 45px 4% 20px;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 18px;
    }

    .footer-bottom-info {
        gap: 15px 25px;
    }
}

/* ===================================
   MOBILE RESPONSIVE
=================================== */

@media (max-width: 576px) {

    footer {
        padding: 35px 20px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 25px;
    }

    .footer-col h3,
    .footer-col h4 {
        font-size: 19px;
        margin-bottom: 14px;
    }

    .footer-col p {
        font-size: 13px;
    }

    .footer-input-box {
        gap: 8px;
    }

    .footer-input-box input {
        padding: 12px 10px;
        font-size: 13px;
    }

    .footer-input-box button {
        padding: 0 16px;
        font-size: 13px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-bottom {
        padding-top: 20px;
        gap: 15px;
    }

    .footer-bottom-info {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom-info span {
        font-size: 12px;
        align-items: flex-start;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 360px) {

    footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-input-box button {
        padding: 0 12px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-info span {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 500px) {
    .login-card {
        max-width: 100%;
    }
}