:root {
    --font-primary: "Nunito Sans", sans-serif;
    --font-secondary: "Inter", sans-serif;
}

form .form-group label {
    margin: 0px 0px 5px;
    font-weight: 500;
    font-family: var(--font-secondary);
}

form .form-group .form-control {
    font-family: var(--font-secondary);
}

form .form-group .form-control:focus {
    border: 1px solid #b58956;
    box-shadow: 0 0 0 .2rem #b5895640;

}

section.login-sec {
    background-image: url('../images/login-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
}

section.member-add-sec {
    background-image: url('../images/login-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0px;
    height: 100%;
}

.login-sec .card {
    padding: 20px;
    border-radius: 30px;
}

.login-sec .card .card-header {
    text-align: center;
    background: none;
    border: none;
}

.login-sec .card .card-body h4 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
}

.login-sec .card .card-body .forgot-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.login-sec .card .card-body .forgot-box a {
    color: #b58956;
    font-family: var(--font-secondary);
}

.login-sec .card .card-body .forgot-box .form-check label {
    cursor: pointer;
    font-family: var(--font-secondary);
}

.login-sec .card .card-body form .submitBtn {
    background-color: #b58956;
    color: #fff;
    border: 1px solid #b58956;
    border-radius: 5px;
    padding: 10px 30px;
    margin: 0 auto;
    display: block;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.login-sec .card .card-body form .signUp-link {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-secondary);
    margin-top: 20px;
    text-align: center;
}

.login-sec .card .card-body form .signUp-link a {
    color: #b58956;
}

.image-upload-wrapper {
    margin-bottom: 50px;
}

.image-upload-wrapper .upload-button {
    cursor: pointer;
    font-size: 28px;
    color: #000;
    width: 150px;
    height: 150px;
    background-color: #ECECEE;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
}

.preview-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

.preview-container:hover .remove-btn {
    display: block;
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    display: none;
}

.text-field {
    height: 50px;
    background-color: #F5F6FA;
}

textarea {
    background-color: #f5f6fa;
    height: 200px;
    width: 100%;
    border: 1px solid #e2e6ea;
}




.upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Upload box */
.upload-box {
    width: 100%;
    height: 197px;
    background-color: #f8f9fc;
    border: 1px solid #e2e6ea;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.3s, color 0.3s;
}


.upload-box:hover {
    border-color: #007bff;
    color: #007bff;
}

/* Preview grid */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    width: 100%;
}

/* Each preview item */
.preview-item {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.preview-item img,
.preview-item video {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.preview-item .remove-preview {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff0000;
    color: #fff;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    font-size: 14px;
}

.remove-member-btn {
    background-color: #B58956;
    padding: 10px;
    color: #fff;
}

/* ----------  */
.tree-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-member-btn {
    border: 1px solid #000;
    color: #000;
    border-radius: 5px;
    text-decoration: none !important;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.add-member-btn:hover {
    background-color: #000;
    color: #fff;
    text-decoration: none !important;
}

.tree-head h6 {
    font-weight: 800;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: 1px;
    vertical-align: middle;
    text-transform: uppercase;

}

.profileSubmitBtn,
.profileCancelBtn {
    background-color: #b58956;
    color: #fff;
    border: 1px solid #b58956;
    border-radius: 5px;
    padding: 10px 30px;
    display: block;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.profileCancelBtn {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    margin-right: 10px;
}

.ck-editor__editable_inline {
    height: 160px;
}

/* Password Toggle Styles */
.password-toggle-wrapper {
    position: relative;
    display: block;
}

.password-toggle-wrapper input[type="password"],
.password-toggle-wrapper input[type="text"] {
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
    font-size: 18px;
    z-index: 10;
    outline: none;
    transition: color 0.3s ease;
}

.password-toggle-btn:hover {
    color: #b58956;
}

.password-toggle-btn:focus {
    outline: none;
}

.password-toggle-btn i {
    pointer-events: none;
}