/* Fix for the Big Login Logo */
.login-logo img {
    max-height: 150px;  /* You can change this to 100px or 200px */
    width: auto;        /* Maintains the aspect ratio */
}

/* Optional: Fix for Sidebar Logo (if that is also too big) */
.brand-link .brand-image {
    max-height: 35px;
    width: auto;
}

/* --- 1. THE WELCOME MESSAGE --- */
.login-box-msg {
    font-size: 1.5rem !important;      /* Make it bigger */
    font-weight: 800 !important;       /* Make it Extra Bold */
    color: #2e7d32 !important;         /* Dark Farm Green color */
    text-transform: uppercase;         /* Make it all CAPS */
    letter-spacing: 1px;
    padding-bottom: 25px !important;
}

/* --- 2. THE INPUT BOXES (Username/Password) --- */
.login-box .form-control {
    border-radius: 50px !important;    /* Make them fully rounded */
    border: 2px solid #ddd;            /* Light grey border */
    padding-left: 20px;
    height: 45px;
    transition: all 0.3s ease;         /* Smooth animation */
}

/* The Glow Effect when you click inside */
.login-box .form-control:focus {
    border-color: #2ecc71 !important;  /* Green border on click */
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.3); /* Green Glow */
}

/* --- 3. THE ICONS (User/Lock symbols) --- */
.login-box .input-group-text {
    border-radius: 50px !important;    /* Round the icon containers too */
    background-color: transparent !important;
    border: none;
}

/* --- 4. THE LOGIN BUTTON --- */
.login-box .btn-primary {
    background: linear-gradient(45deg, #11998e, #38ef7d) !important; /* Cool Gradient */
    border: none;
    border-radius: 50px !important;    /* Rounded button */
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s;        /* For the lift effect */
}

/* Button Hover Effect (Lift up) */
.login-box .btn-primary:hover {
    transform: translateY(-3px);       /* Move up slightly */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3); /* Bigger shadow */
}

/* --- 5. THE LOGIN CARD ITSELF --- */
.login-box-body, .card {
    border-radius: 20px !important;    /* Round the card corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important; /* Deep shadow */
    border-top: 5px solid #2ecc71;     /* Green line at the very top */
}

/* --- 6. ERROR MESSAGE STYLING --- */
.login-box .alert-danger, .errornote {
    background-color: #ffebee !important;   /* Light Red Background */
    color: #c62828 !important;              /* Deep Red Text */
    border: 1px solid #ef9a9a;              /* Red Border */
    border-radius: 10px;                    /* Rounded Corners */
    font-weight: bold;
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* =========================================
   JAZZMIN CONTENT SPACING (Branding Flush)
   ========================================= */
.content-wrapper .content {
    padding-top: 0 !important;
}

.content-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#vyapar-branding-active {
    margin-top: 0 !important;
}

/* ==================================================================
   8. MESSAGE LINK VISIBILITY (Invoice Number)
   ================================================================== */
/* Fix visibility of links inside success messages */
ul.messagelist li.success a,
.alert-success a {
    color: #000000 !important; /* Force Black text */
    font-weight: bold !important;
    text-decoration: underline;
}

/* Optional: Change color on hover for better UX */
ul.messagelist li.success a:hover,
.alert-success a:hover {
    color: #333333 !important;
    text-decoration: none;
}


