body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;

}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 80px 20px; 
    
    overflow-y: auto;
    box-sizing: border-box;/
}

.auth-card {
    background: #fff;
    padding: 25px 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 20px;
    text-align: center;
}

.auth-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #333;
}

.auth-input {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 16px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: #8A2BE2;
    outline: none;
}

.auth-btn {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-radius: 16px;
    background: #5D196B;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background: #8A2BE2;
}

.auth-toggle {
    font-size: 0.85rem;
    margin-top: 12px;
    color: #555;
}

.auth-toggle span {
    color: #5D196B;
    cursor: pointer;
    font-weight: bold;
}

.auth-message {
    margin-top: 15px;
    font-size: 0.9rem;
    color: red;
}

/* Bottom nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
/* --- Password Strength Meter Styles --- */

/* Wrapper to position the meter below the input */
.password-input-wrapper {
    position: relative;
    margin-bottom: 8px; /* Standard margin between form elements */
}

/* Ensure the input still looks good */
.password-input-wrapper .auth-input {
    margin-bottom: 0; /* Remove bottom margin from input inside wrapper */
}

.password-strength-meter {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
    height: 8px;
    width: 100%;
    border-radius: 4px;
}

.meter-bar {
    flex-grow: 1;
    background: #ccc; /* Default grey color */
    border-radius: 4px;
    transition: background 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: left;
    margin-top: 5px;
    min-height: 1.2rem; /* Reserve space to prevent layout jump */
}

/* Colors based on strength */
/* Weak */
.weak-bar {
    background: #ff4d4f; /* Red */
}
/* Fair */
.fair-bar {
    background: #faad14; /* Orange */
}
/* Good */
.good-bar {
    background: #52c41a; /* Green-ish */
}
/* Strong */
.strong-bar {
    background: #1890ff; /* Blue */
}