:root {
    --main-color: #71c058;
}

/* Body Styles */
body {
    background-color: #D9E0E7;
    font-family: Arial, sans-serif;
}

/* Header Styles */
.header {
    background-color: #343a40;
    color: #fff;
    /* padding: 10px 0; */
}

.header .navbar-brand {
    color: var(--main-color); /* User's logo color */
    font-size: 24px;
    font-weight: bold;
}

.header .profile-menu {
    color: #fff;
}

.profile-menu .dropdown-toggle::after {
    border-color: #fff;
}

.dropdown-menu {
    right: 0;
    left: auto;
}

/* Profile Header Styles */
.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-header img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
}

.profile-header h2 {
    margin-top: 15px;
}

/* Dashboard Card Styles */
.dashboard-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
    /* text-align: center; */
    padding: 20px;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: scale(1.05);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--main-color); /* User's logo color */
}

/* Form Section Styles */
.form-section {
    margin-bottom: 30px;
}

.form-container {
    align-items: center; /* Center items horizontally */
    padding: 20px 50px 50px 50px; /* Adjusted padding */
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%; /* Full height */
    width: 100%; /* Full width */
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    width: 100%; /* Full width input */
}

.form-control:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 5px rgba(243, 168, 80, 0.5);
}

/* Button Styles */
.btn-custom {
    background-color: var(--main-color); /* Custom button color */
    color: #ffffff; /* White text color for buttons */
    border-radius: 5px;
}

.btn-custom:hover {
    background-color: #629553; /* Darker shade on hover */
    color: #fff;
}

/* Profile Card Styles */
.profile-card {
   /*  background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%; */
    max-width: 500px; /* Max width for the card */
    perspective: 1000px; /* Enable 3D perspective */
}

.profile-card img {
    border-radius: 50%; /* Circular profile picture */
    border: 2px solid var(--main-color); /* Border matching the brand color */
}

.profile-card h2 {
    color: #343a40; /* Dark text color for the name */
}

/* Card Flip Styles */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 10px; /* Rounded corners for card */
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px; /* Match front and back */
}

.card-front {
    background-color: #fff; /* Front card background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-back {
    background-color: #fff; /* Back card background */
    transform: rotateY(180deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.card-front {
    height: 490px; /* Default height for front card */
    /* Other styles for front card */
}

/* Back card styles */
.card-back {
    height: 380px; /* Default height for back card */
    /* Other styles for back card */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .card-front {
        height: 480px; /* Height for front card on mobile */
    }
    
    .card-back {
        height: 550px; /* Height for back card on mobile */
    }
    .login-container {
        margin-top: 90px;
    }
}

/* Login Container Styles */
.login-container {
    padding: 55px 25px; /* Adjust padding for better spacing */
}

.login-image {
    height: 100%; /* Ensure the image covers the left column */
    object-fit: cover; /* Maintain aspect ratio */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Logo Styles */
.logo {
    width: 250px; /* Adjust logo size as needed */
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Text Decoration Styles */
.text-decoration-none {
    color: black;
}


.db-card-flip {
    position: relative;
    width: 100%;
    height: 250px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.col-lg-4:hover .db-card-flip {
    transform: rotateY(180deg); /* Flips the card on hover */
}

.db-card-front, .db-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back side of the card */
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.db-card-front {
    background-color: #fff;
    padding: 20px;
}

.db-card-back {
    background-color: var(--main-color); /* Your logo color */
    background-color: #fff; /* Your logo color */
    /* color: white; */
    padding: 20px;
    transform: rotateY(180deg); /* Positions the back side initially flipped */
}

.db-card-back h5, .db-card-back p {
    margin-top: 20px;
}

h5{
    font-weight: bold;
}
.fs-sm{
    font-size: small;
}

.card-front2{
    height: 450px;
}
/* Media query for mobile devices */
@media (max-width: 768px) {
    .card-front2 {
        height: 550px; /* Height for front card on mobile */
    }
    
}