/* General reset and font */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 0px;
}

/* Layout Containers */
.container {
    max-width: 95%;
    margin: auto;
    margin-top:20px;
    margin-bottom:20px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.auth-card {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Form Elements */
h2 { color: #2c3e50; margin-top: 0; }
label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9em; }

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #dce1e5;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus { border-color: #3498db; outline: none; }

/* Buttons */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary { background: #3498db; color: #fff; width: 100%; }
.btn-primary:hover { background: #2980b9; }

.btn-secondary { background: #95a5a6; color: #fff; font-size: 0.8em; margin-bottom: 10px; }
.btn-danger { background: #e74c3c; color: #fff; padding: 5px 10px; font-size: 0.8em; }

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th { background: #f8f9fa; text-align: left; padding: 12px; border-bottom: 2px solid #dee2e6; }
td { padding: 12px; border-bottom: 1px solid #dee2e6; }
tr:hover { background: #f1f4f6; }

/* Password Strength */
.strength-meter { height: 6px; background: #eee; border-radius: 3px; margin-bottom: 15px; overflow: hidden; }
.strength-fill { height: 100%; width: 0%; transition: width 0.5s ease; }
/* Password Eye Styles */
/* Container for the input and the icon */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px; /* Space for the icon so text doesn't overlap */
}

/* The Eye Icon Button */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    color: #555;
    font-size: 1.2rem;
    line-height: 1;
    user-select: none;
}

.toggle-password:hover {
    color: #000;
}