﻿:root {
    --primary: #9c4337;
    --secondary: #a363d9;
    --accent: #ff6b6b;
}

/* Animated Gradient Background */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(-45deg, #6c5ce7, #a363d9, #ff6b6b, #6c5ce7);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}
/*.login-logo img {
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    border-radius: 100%; 
    object-fit: cover; 
}*/
/*@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}*/

/* Floating Shapes */
.background-shapes div {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape1 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 20%;
    left: 10%;
}

.shape2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    clip-path: circle(50% at 50% 50%);
    top: 60%;
    left: 80%;
}

.shape3 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    top: 40%;
    left: 70%;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-100px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}


.project-title {
    font-size: 30px; /* Bigger size for main title */
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    border-radius: 10px;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 1), 0 0 25px rgba(0, 255, 255, 0.7);
}

/* Subheading (Admin Login) */
.project-subtitle {
    font-size: 24px; /* Slightly smaller size */
    font-weight: 600; /* Not as bold as the main title */
    color: #ffffff;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5), 0 0 10px rgba(0, 255, 255, 0.3);
}


.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align */
    justify-content: center; /* Center align */
    gap: 5px; /* Reduce space between elements */
    margin: 0; /* Remove any extra margin */
    padding: 0; /* Remove extra padding */
}

    .login-logo img {
        width: 70px;
        height: auto;
        margin: 0; /* Remove default margins */
        padding: 0; /* Remove default paddings */
        display: block; /* Avoid extra spacing from inline elements */
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    }

    .login-logo b {
        font-size: 24px;
        color: #fff;
        display: block;
        margin: 0; /* Remove extra spacing */
        padding: 0; /* Remove extra padding */
    }

.form-group label {
    font-weight: 900;
    color: #990000;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #ff8f8f; /* Box border color */
    padding: 12px;
    font-size: 14px;
    color: #990000; /* Text color */
    transition: all 0.3s ease;
}

    .form-control::placeholder {
        color: #ff8f8f; /* Placeholder color */
    }

    .form-control:focus {
        border-color: #990000; /* Border color changes on focus */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); /* Glow effect */
        color: #990000; /* Text color remains white */
    }

.btn-login {
    background: #990000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    display: block;
    margin: 20px auto; /* Adjust margin as needed */
    text-align: center;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }
.link-container {
    display: flex;
    flex-direction: column; /* Stack links vertically */
    align-items: center; /* Center the content */
    gap: 5px; /* Space between the two lines */
    margin-top: 15px;
    font-size: 14px;
    font-weight: 900;
}

.new-user span {
    color: #990000;
}

.register-link {
    color: #990000;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

    .register-link:hover {
        color: #990000;
    }

.forgot-password {
    color: #990000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: #cc0000;
    }

/* Right Side: Info Section */
.info-section {
    display: flex;
    flex-direction: row;
    /* Changed from column */
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px !important;
    /* Reduced padding */
 
    /* Decreased container width */
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    top:120px;
    position:relative;
}

.info-box {
    flex: 1 1 calc(33.33% - 20px);
    /* Three boxes per row */
    min-width: 250px;
    padding: 20px;
    /* Reduced padding */
    margin: 0;
    /* Removed default margins */
}
    .info-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .info-box h3 {
        font-size: 18px !important;
        /* Smaller heading */
        margin-bottom: 8px;
    }

    .info-box p {
        font-size: 13px !important;
        /* Smaller text */
        line-height: 1.4;
    }

    .info-box a {
        font-size: 13px;
        margin-top: 8px;
    }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .login-section, .info-section {
        padding: 20px;
    }

    .login-logo img {
        width: 80px;
    }

    .btn-login {
        width: 100%;
    }

    .info-box {
        padding: 20px;
    }
    .info-section {
        max-width: 450px;
        gap: 15px;
        padding: 20px !important;
    }
    .info-box {
        flex: 1 1 100%;
        /* Stack vertically on mobile */
        min-width: auto;
    }
    .background-shapes {
        display: none; /* Hide shapes on mobile */
    }
}

.card {
    box-shadow: 0 2px 3px rgb(0 0 0 / 4%), 0 4px 6px rgb(0 0 0 / 4%);
}
.card-header.alert {
    color: #ffffff;
    background-color: #990000;
    border-bottom: 5px solid #990000;
    border-radius: 15px 15px 0 0; /* Add curved top corners */
    overflow: hidden; /* Ensures child elements respect border radius */
    padding: 15px 20px; /* Adjust padding for better spacing */
}

    .card-header.alert h3 {
        color: #ffffff;
        font-weight: 300;
        font-size: 35px;
        margin: 0 0 -5px 0; /* Reduce bottom margin */
        line-height: 1; /* Tighten line height */
    }

    .card-header.alert h5 {
        color: #ffffff;
        font-weight: 300;
        font-size: 15px;
        margin: 0; /* Remove default margins */
        line-height: 1.2; /* Adjust line height */
        padding-top: 5px; /* Add small spacing between headings */
    }
.form-signin {
    margin: 0px auto;
    width: 100%;
    max-width: 447px;
    background: white;
    border-radius: 15px;
    position: relative;
    top: 130px; /* Adjust this value as needed */
}

  

    .form-signin h5.card-title {
        color: #9c4337 !important;
        font-size: 22px;
        font-weight: 300 !important;
        margin-bottom: 15px !important;
    }
.card-footer.alert {
    color: #ffffff;
    background-color: #990000;
    border-bottom: 5px solid #990000;
    border-radius: 0 0 15px 15px;
}

.login_page {
    background: url('../../images/YCMOU_BACKGROUND.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keep background fixed during scrolling */
    min-height: 100vh;
    position: relative;
}

.login-box {
    /*border-top:3px solid #1ab394 !important;*/
    background: rgb(213, 226, 227);
    border: 2px solid #D7D7DA;
    border-radius: 10px;
}

.login-box-body {
    background: none;
    padding: 0px 20px 10px 20px;
}

.login-logo {
    padding: 20px 0 0px;
}

    .login-logo a {
        color: #16A085;
        font-family: Times new roman;
        font-size: 28px;
        text-transform: uppercase;
    }

.logo-icon {
    background: #1ab394;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 100%;
    height: 52px;
    line-height: 50px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    width: 52px;
    margin-top: -8px;
    margin-right: 10px;
}

@media (min-width: 1200px) {
    .login_page {
        background-size: 100% 100%; /* Full stretch for wide screens */
    }
}

@media (max-width: 768px) {
    .login_page {
        background-size: cover;
        background-attachment: scroll;
    }
}
.form-control:focus {
    border-color: #990000 !important;
    box-shadow: none;
}

.form-control::-moz-placeholder, .form-control:-ms-input-placeholder, .form-control::-webkit-input-placeholder {
    color: #bbb;
    opacity: 1;
}

.form-control:not(select) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
