/* ================================
   FLAVORLY COOKING THEME
   ================================ */

body.cooking-bg {
    background-color: #fffaf3;
}

.cooking-navbar {
    background-color: #fff7ec;
    border-bottom: 1px solid #f1dcc2;
}

.cooking-navbar .navbar-brand {
    color: #ff7b54;
}

.cooking-navbar .nav-link {
    color: #4b2e2b;
}

.cooking-navbar .nav-link:hover {
    color: #ff7b54;
}

.auth-card {
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    background-color: #ffffff;
}

.btn-primary {
    background-color: #ff7b54;
    border-color: #ff7b54;
}
.btn-primary:hover {
    background-color: #ff5f2e;
    border-color: #ff5f2e;
}

.form-text-error {
    color: #c0392b;
    font-size: 0.875rem;
}

.form-text-success {
    color: #27ae60;
    font-size: 0.875rem;
}


/* ================================
   PROFILE PAGE — BANNER + AVATAR
   ================================ */

.profile-banner-container {
    position: relative !important;
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: visible !important;  /* allow avatar to float outside */
    z-index: 1;
}

.profile-banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(65%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.profile-banner-overlay {
    background: rgba(0,0,0,0.35);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Floating avatar system */
.profile-avatar-holder {
    position: absolute;
    bottom: -75px;     /* how much to overlap the banner */
    left: 30px;        /* avatar left position */
    z-index: 9999 !important;
}

.profile-avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* ================================
   PROFILE INFO (DIRECTLY UNDER AVATAR)
   ================================ */

.profile-info-under-avatar {
    margin-top: 100px;     /* space under the floating avatar */
    margin-left: 30px;     /* aligns text EXACTLY under avatar */
    text-align: left;
    max-width: 500px;
    padding: 0 !important; /* remove bootstrap padding */
}

/* Text styles */
.profile-title-warm {
    font-size: 2rem;
    font-weight: 700;
    color: #b85c38;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: #444;
}

/* ================================
   EDIT BUTTON
   ================================ */

.edit-profile-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10000;
}
