/* Login Page Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f9fafb; /* bg-gray-50 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 448px; /* max-w-md */
    padding: 2.5rem; /* p-10 */
    background-color: #ffffff;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    border: 1px solid #f3f4f6; /* border-gray-100 */
}

.header {
    margin-bottom: 2rem; /* mt-8 space-y-6 equivalent */
    text-align: center;
}

.header h2 {
    margin-top: 1.5rem;
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
    font-weight: 800; /* font-extrabold */
    color: #111827; /* text-gray-900 */
}

.header p {
    margin-top: 0.5rem;
    font-size: 0.875rem; /* text-sm */
    color: #4b5563; /* text-gray-600 */
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    border-radius: 0.375rem; /* rounded-md */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.input-wrapper {
    position: relative;
}

.input-field {
    appearance: none;
    display: block;
    width: 100%;
    padding: 0.75rem; /* px-3 py-3 */
    border: 1px solid #d1d5db; /* border-gray-300 */
    color: #111827; /* text-gray-900 */
    font-size: 0.875rem; /* sm:text-sm */
    outline: none;
}

.input-field::placeholder {
    color: #6b7280; /* placeholder-gray-500 */
}

.input-field:focus {
    z-index: 10;
    border-color: #f97316; /* focus:border-orange-500 */
    box-shadow: 0 0 0 1px #f97316; /* focus:ring-orange-500 */
}

.input-top {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: -1px;
}

.input-bottom {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    height: 1rem; /* h-4 */
    width: 1rem; /* w-4 */
    color: #ea580c; /* text-orange-600 */
    border-color: #d1d5db; /* border-gray-300 */
    border-radius: 0.25rem;
    cursor: pointer;
}

.remember-me label {
    margin-left: 0.5rem;
    font-size: 0.875rem; /* text-sm */
    color: #111827; /* text-gray-900 */
}

.forgot-password a {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    color: #ea580c; /* text-orange-600 */
    text-decoration: none;
}

.forgot-password a:hover {
    color: #f97316; /* hover:text-orange-500 */
}

.btn-login {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.75rem 1rem; /* py-3 px-4 */
    border: 1px solid transparent;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    border-radius: 0.375rem; /* rounded-md */
    color: white;
    background-color: #ea580c; /* bg-orange-600 */
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    outline: none;
}

.btn-login:hover {
    background-color: #c2410c; /* hover:bg-orange-700 */
}

.btn-login:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f97316;
}

.icon-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
}

.icon {
    height: 1.25rem; /* h-5 */
    width: 1.25rem; /* w-5 */
    color: #f97316; /* text-orange-500 */
    transition: color 0.15s ease-in-out;
}

.btn-login:hover .icon {
    color: #fb923c; /* group-hover:text-orange-400 */
}

.footer {
    text-align: center;
    margin-top: 1rem;
}

.footer p {
    font-size: 0.875rem; /* text-sm */
    color: #4b5563; /* text-gray-600 */
}

.footer a {
    font-weight: 500;
    color: #ea580c; /* text-orange-600 */
    text-decoration: none;
}

.footer a:hover {
    color: #f97316; /* hover:text-orange-500 */
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
