/* Authentication Pages Styles */
:root {
    --c-bg: #0f172a;
    --c-text: #ffffff;
    --c-muted: #94a3b8;
    --c-card: #1e293b;
    --c-border: #334155;
    --c-primary: #52A000; /* Orange */
}

/* Common Auth Body */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--c-bg);
    color: var(--c-text);
    min-height: 100vh;
    margin: 0;
    padding-bottom: 3rem;
}

/* Top Bar */
.top-bar {
    padding: 24px 20px 16px;
    position: sticky;
    top: 0;
    background-color: var(--c-bg);
    text-align: center;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .top-bar h2 {
        font-size: 24px;
        font-weight: 700;
        margin: 0;
    }

/* Back Button */
.back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: var(--c-primary);
    color: #fff;
    text-decoration: none;
}

/* Form Container */
.form-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 24px;
    background-color: transparent;
}

    .form-container h1 {
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 5px;
    }

    .form-container p {
        color: var(--c-muted);
        font-size: 14px;
        margin-bottom: 20px;
    }

/* Form Title & Subtitle */
.form-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.form-subtitle {
    color: var(--c-muted);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        font-size: 14px;
        color: var(--c-muted);
        display: block;
        margin-bottom: 6px;
    }

/* Labels */
.label {
    font-size: 0.875rem;
    color: var(--c-muted);
}

/* Input Wrapper */
.input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 0 12px;
    margin-top: 0.25rem;
}

    .input-wrapper i {
        color: var(--c-muted);
    }

    .input-wrapper input, .input-wrapper select,.input-wrapper textarea {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        color: white;
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
    }

/* Input */
.input {
    width: 100%;
    background: transparent;
    padding: 0.75rem 0;
    outline: none;
    border: none;
    color: var(--c-text);
    font-size: 1rem;
}

/* Icon */
.icon {
    color: var(--c-muted);
}

/* Forgot Password */
.forgot-password {
    text-align: right;
    font-size: 12px;
    margin-top: 6px;
}

    .forgot-password button {
        background: none;
        border: none;
        color: var(--c-muted);
        cursor: pointer;
    }

        .forgot-password button:hover {
            color: #ffffff;
        }

/* Submit Button */
.submit-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    /*background: linear-gradient(to right, #52A000, #facc15, #52A000);
  color: black;*/
    background-color: #52A000;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1rem;
}

    .submit-btn:hover {
        background-color: #338300;
    }

/* Text Center */
.text-center {
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
}

    .text-center a {
        color: #52A000;
        font-weight: 500;
        text-decoration: none;
    }

        .text-center a:hover {
            text-decoration: underline;
        }

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.checkbox {
    margin-top: 0.25rem;
}

/* Login Text */
.login-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--c-muted);
}

.login-link {
    color: #fb923c;
    font-weight: 500;
    text-decoration: none;
}

/* Bottom Navigation for Auth Pages */
nav.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--c-primary);
    border-top: 1px solid var(--c-border);
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.25);
    padding: 0.75rem 2rem 1rem;
    color: #fff;
    font-size: 0.75rem;
}

.bottom-nav .nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
    align-items: end;
}

.bottom-nav a {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .bottom-nav a i {
        font-size: 20px;
    }

.bottom-nav .center-btn {
    position: relative;
}

    .bottom-nav .center-btn a {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: #fff;
        color: #000;
        display: grid;
        place-items: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        border: 6px solid var(--c-primary);
        position: absolute;
        top: -80px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 20px;
        font-weight: bold;
    }

.bottom-nav a.active {
    color: #000;
}

.alert-outline-danger {
    background: #fbcaca;
    border: 1px solid red;
    color: red;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.alert-outline-success {
    background: #fbcaca;
    border: 1px solid green;
    color: green;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.alert-outline-warning {
    background: #fbcaca;
    border: 1px solid orange;
    color: orange;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.dotted {
    background-color: transparent;
    border-width: 2px;
    border-style: dotted;
}
