/* Google Font "Ubuntu" */
body {
    font-family: 'Ubuntu', sans-serif;
}

/* Background Image */
body {
    background: url('../img/login.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    color: #333;
}
.signup {
    background: url('../img/signup.jpg') 
    no-repeat center center fixed;
    background-size: cover;
}

/* Center the form in a card */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Card Hover Effect */
.card {
    width: 100%;
    max-width: 400px;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.3); /* Slight transparency */
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px); /* Frosted glass effect */
    transition: all 0.3s ease; /* Smooth transition */
}

.card:hover {
    transform: translateY(-10px); /* Lift effect */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}


/* Card Header */
.card-header {
    background-color: transparent; /* Card header background is transparent */
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

/* Logo in Circular Background */
.card-header .logo-container {
    display: inline-block;
    background-color: #FF3E41; /* Highlighter color */
    border-radius: 10%; /* Exact circle background for logo */
    padding: 25px; /* Adjusted padding for a larger circle */
    margin-bottom: 10px;
}

.card-header .logo {
    max-width: 80px; /* Increased logo size */
    max-height: 80px; /* Maintains square proportions */
}

.card-header h3 {
    color: #333; /* Adjusted text color */
    font-weight: 500;
    margin-top: 10px;
}

/* Card Body */
.card-body {
    padding: 20px;
}

/* Button Styling */
.button {
    border-radius: 4px;
    background-color: #FF3E41;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 18px; /* Smaller font size */
    padding: 12px 16px; /* Reduced padding for smaller button */
    width: 100%;
    transition: all 0.5s;
    cursor: pointer;
}

.button span {
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button:hover span {
    padding-right: 25px;
}

.button:hover span i {
    content: '\f2f6';  /* fa-sign-in-alt */
}

/* Signup Text */
.signup-text {
    font-size: 0.875rem;
}

.signup-link {
    color: #FF3E41;
    text-decoration: none;
}

.signup-link:hover {
    text-decoration: underline;
}

/* Forgot Password Link */
.forgot-password-link {
    color: black;
    text-decoration: underline;
}

.forgot-password-link:hover {
    text-decoration: none;
}

/* Password Input Container */
.password-input-container {
    position: relative;
}

#togglePassword {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #FF3E41;
    cursor: pointer;
    font-size: 1.1rem; /* Smaller font size for the icon */
    opacity: 0.7; /* Lighter appearance */
    transition: opacity 0.3s ease;
}

#togglePassword:hover {
    opacity: 1; /* Fully visible on hover */
}

#togglePassword i {
    font-size: 1.1rem; /* Smaller icon size */
}

/* Input Group Styles */
.input-group .form-control {
    padding-right: 40px;
}

.input-group .input-group-text {
    background-color: #f1f1f1;
    border: 1px solid #ddd;
}

.input-group .input-group-text i {
    color: #FF3E41;
}

/* Responsive Design */
@media (max-width: 576px) {
    .card {
        padding: 20px;
    }

    .button {
        font-size: 16px; /* Adjusted button font size */
        padding: 10px; /* Slightly smaller button padding */
    }

    .form-control {
        font-size: 16px; /* Adjusted input font size */
    }

    .card-header .logo-container {
        padding: 20px; /* Adjust logo circle size for mobile */
    }

    .card-header .logo {
        max-width: 60px; /* Smaller logo size for mobile */
        max-height: 60px;
    }

    .card-header h3 {
        font-size: 18px; /* Smaller header font size */
    }

    .signup-text {
        font-size: 0.75rem; /* Smaller font size for mobile */
    }
}
