/* 
Theme Name: Low Income Grant
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.lig-register-form {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    font-family: "Montserrat", Sans-serif;
    color:#000000;
}

.lig-register-form .form-title {
    text-align:center;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
}

.lig-register-form .form-group {
    margin-bottom: 18px;
}

.lig-register-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.lig-register-form input[type="text"],
.lig-register-form input[type="email"],
.lig-register-form input[type="password"],
.lig-register-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.2s;
}

.lig-register-form input:focus {
    border-color: #2B6CB0;
    box-shadow: 0 0 5px rgba(58,122,254,0.3);
    outline: none;
}

.lig-register-form .submit-btn {
    width: 100%;
    padding: 14px;
    background: #2B6CB0;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.lig-register-form .submit-btn:hover {
    background: #2B6CB0;
}
.lig-errors p{
    background-color: #ff0000;
    color:#fff;
    margin-bottom: 15px;
    text-align: center;
    padding:20px;
    border-radius: 10px;
}
.lig-success p{
    background-color: #00FF00;
    color:#000000;
    margin-bottom: 15px;
    text-align: center;
    padding:20px;
    border-radius: 10px;
}
.alreadyhaveaccount{
    color:#000;
    text-align: center;
    padding-top:10px;
}
.alreadyhaveaccount a{
    color:#000;
}
.alreadyhaveaccount a:hover{
    color:#2B6CB0;
}

.journal-wrapper {
    max-width: 1500px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    font-family: 'Inter', sans-serif;
}

/* ======================
   Journal Thread
====================== */
/* Journal Dashboard Layout */
.journal-dashboard-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1500px;
    margin: 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
    font-family: "Montserrat", Sans-serif;
}

/* Sidebar */
.journal-sidebar {
    width: 30%;
    min-width: 260px;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
}

.journal-sidebar-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
}

.journal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.journal-list-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}

.journal-list-item:last-child {
    border-bottom: none;
}

.journal-list-subject {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.journal-list-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.journal-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

/* You can tweak these colors */
.journal-status--active,
.journal-status--open {
    background-color: #e3f6ff;
    color: #026799;
}

.journal-status--pending {
    background-color: #fff7e3;
    color: #946200;
}

.journal-status--closed,
.journal-status--resolved {
    background-color: #e6f8ea;
    color: #257a3a;
}

.journal-date {
    font-style: italic;
}

.journal-empty-state {
    font-size: 14px;
    color: #777;
}

/* Main area */
.journal-main {
    flex: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.journal-main-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 600;
}

/* Alerts */
.journal-alert {
    padding: 10px 12px;
    margin-bottom: 16px;
    border-radius: 4px;
    font-size: 14px;
}

.journal-alert--success {
    background-color: #e6ffed;
    border: 1px solid #b4f2c0;
    color: #235d33;
}

.journal-alert--error {
    background-color: #ffe6e6;
    border: 1px solid #f2b4b4;
    color: #7a1f1f;
}

/* Form */
.journal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.journal-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.journal-label {
    font-size: 14px;
    font-weight: 500;
}

.journal-input,
.journal-textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #d0d0d0;
    font-size: 14px;
    box-sizing: border-box;
}

.journal-input:focus,
.journal-textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.2);
}

.journal-form-actions {
    margin-top: 4px;
}

.journal-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 4px;
    border: none;
    background-color: #0073aa;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.journal-button:hover, .journal-button:focus {
    background-color: #005f8a;
}
.journal-note {
    font-size: 12px;
    color: #666;
}
/* Responsive */
@media (max-width: 768px) {
    .journal-dashboard-wrapper {
        flex-direction: column;
    }

    .journal-sidebar {
        width: 100%;
    }
}
/* Detail page */
.journal-detail-wrapper {
    max-width: 1500px;
    margin: 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.journal-detail-header {
    margin-bottom: 20px;
}

.journal-back-link {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    text-decoration: none;
    color: #0073aa;
}

.journal-back-link:hover {
    text-decoration: underline;
}

.journal-detail-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
}

.journal-detail-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.journal-detail-time {
    font-style: italic;
}
.journal-thread {
    background: #f4f6fb;
    padding: 20px;
    border-radius: 8px;
    max-height: 600px;
    overflow-y: auto;
}

.journal-message {
    margin-bottom: 15px;
    padding: 12px 16px;
    max-width: 75%;
    border-radius: 8px;
    clear: both;
}

.journal-message--user {
    background: #e1f0ff;
    float: right;
    text-align: right;
}

.journal-message--agent {
    background: #dfffe8;
    float: left;
    text-align: left;
}

.journal-message-header {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.journal-message-body {
    font-size: 15px;
    color: #222;
}

.journal-message-attachment {
    margin-top: 8px;
    font-size: 14px;
}

.journal-reply-wrapper {
    margin-top: 25px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.journal-reply-title {
    margin-bottom: 10px;
}

/*Reply styles*/
.journal-reply-wrapper {
    padding: 20px;
    background: #f7f9ff;
    border-radius: 8px;
    max-width: 1500px;
    margin: 40px auto;
}

.journal-reply-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.journal-reply-form .journal-form-group {
    margin-bottom: 15px;
}
/*Agent Journal Styles*/
.agent-journal-wrapper {
    max-width: 1500px;
    margin: 40px auto;
    padding: 0 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    overflow-x: auto;
    font-family: "Montserrat", Sans-serif;
}
.agent-journal-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.agent-journal-table {
    width: 100%;
    min-width: 800px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.agent-journal-table th,
.agent-journal-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e6e6e6;
}

.agent-journal-table th {
    background: #f8f8f8;
    text-align: left;
}

.journal-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.journal-status--active { background: #e5f4ff; color:#005d91; }
.journal-status--pending { background:#fff3cd; color:#856404; }
.journal-status--resolved { background:#d4edda; color:#155724; }

.agent-journal-link {
    color:#0055cc;
    text-decoration:none;
    font-weight: 500;
}
.agent-journal-link:hover {
    text-decoration:underline;
}
.chat-wrapper {
    max-width: 1500px;
    margin: 40px auto;
    padding: 20px;
}
.chat-box {
    background: #f1f1f1;
    padding: 20px;
    height: 500px;
    overflow-y: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}
.chat-msg {
    margin-bottom: 18px;
    padding: 12px 16px;
    max-width: 70%;
    border-radius: 10px;
    word-break: break-word;
}
.chat-user { background: #e7f3ff; margin-right: auto; }
.chat-agent { background: #d3ffe2; margin-left: auto; }
.chat-time { font-size: 12px; color: #777; margin-top: 4px; }

.reply-box {
    padding: 20px;
    background: #f7f9ff;
    border-radius: 8px;
    max-width: 1500px;
    margin: 40px auto;
}
.reply-box textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 15px;
}
.status-update-box {
    margin: 10px 0 20px 0;
    padding: 15px;
    background: #f8faff;
    border: 1px solid #dbe6ff;
    border-radius: 8px;
    max-width: 450px;
}

.status-update-box label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.status-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #b8c8e9;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.status-btn {
    padding: 10px 20px;
    background: #3b66f5;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.status-btn:hover, .status-btn:focus{
    background: #2d52d9;
}

/*Edit Profile Design */
.custom-edit-profile.two-column {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    font-family: "Montserrat", Sans-serif;
}
/* Each form column */
.custom-edit-profile.two-column .column {
    flex: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}
/* Headings */
.custom-edit-profile.two-column h3 {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
}
/* Inputs inside each box */
.custom-edit-profile.two-column input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
}
/* Buttons */
.custom-edit-profile.two-column button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
}
@media (max-width: 768px) {
    .custom-edit-profile.two-column {
        flex-direction: column;
    }
}
.profile-success, .wp_password_success{
    background: #e7f9ee;
    border: 1px solid #34c759;
    color: #000;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 0px;
    font-size: 15px;
    font-family: 'Montserrat';
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}
.profile-success p, .wp_password_success p{
    margin-bottom:0px;
}
.profile-error, .wp_login_error{
    background: #fde8e8;
    border: 1px solid #f44336;
    color: #000;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 0px;
    font-size: 15px;
    font-family: 'Montserrat';
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}
.profile-error p, .wp_login_error p{
    margin-bottom:0px;
}