* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #fff;
}

.login-content {
    width: 100%;
    height: 100%;
    padding: 0px 20px 20px;
}

.container-main {
    max-width: 1300px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Main Content Grid */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

/* Left Section - Features */
.features-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-box {
    background: #fff;
    border-radius: 16px;
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #fff;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 10px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.3;
}

/* .feature-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
        } */

.feature-box.teal {
    background: #0e6958;
}

.feature-box.gold {
    background: #948b54;
}

/* Center Divider */
.divider {
    width: 61px;
    background: url(./images/line.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    min-height: 90%;
}

/* Right Section - Portal */
.portal-section {
    color: #fff;
    text-align: center;
}

.portal-title {
    font-size: clamp(1.8rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    margin-left: 100px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    width: 120px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.login-btn {
    background: #fff;
    color: #8b8b6f;
    border: none;
    padding: 14px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-left: 100px;
    text-align: center;
}

.login-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.register-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    transition: opacity 0.3s ease;
    cursor: pointer;
    margin-left: 100px;
}

.register-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* Logo Section */
.logo-section {
    margin-top: 30px;
    margin-left: 60px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2.5rem;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.contact-info {
    font-size: 0.95rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
}

.contact-info a {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #0e6958;
}

.tagline,
.contact-info {
    margin-left: 80px;
}

/* Footer */
.footer {
    text-align: center;
    color: #fff;
    margin-top: 60px;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 100px;
}

.logo-icon img {
    width: 400px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portal-title,
    .login-btn,
    .register-link,
    .logo-section,
    .tagline,
    .contact-info,
    .footer{
        margin-left: 0;
    }

    .divider {
        display: none;
    }

    .header {
        font-size: 2.2rem;
    }

    .portal-title {
        font-size: 2rem;
    }

    .form-group {
        display: block;
        text-align: center;
    }

    .form-group label {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 30px 15px;
    }

    .header {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }

    .features-section {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .feature-box {
        padding: 20px 15px;
        font-size: 0.95rem;
        min-height: 90px;
    }

    .portal-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .form-group input,
    .login-btn {
        padding: 12px 14px;
    }

    .logo-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .logo-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 20px 12px;
    }

    .header {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .features-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-box {
        padding: 18px 12px;
        font-size: 0.9rem;
        min-height: 85px;
    }

    .portal-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .login-btn {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .register-link {
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .logo-container {
        gap: 10px;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .logo-section {
        margin-top: 40px;
        padding-top: 30px;
    }


}

@media (max-width:426px) {
    body {
        padding: 10px !important;
        height: 100% !important;
    }

    .dashboard-card {
        padding: 12px !important;
    }
    
    .logo-icon img {
         width: 210px;
    }
}