@import url("inter/inter-ui.css");

:root {
  --acc: #475666; /* Main Accent Color */
  --sacc: #475666; /* Secondary Accent Color */
  --usacc: #5d7288; /* Users Accent Color */
  --adminacc: #06c39e; /*Admin Accent Color */
    
}


@font-face {
    font-family: 'LCDDot TR';
    src: url('LCDDot-TR.woff2') format('woff2'),
        url('LCDDot-TR.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Inter UI", sans-serif; 
    background-color: #272b2f;
    color: #fff;
    font-size: 16px;
}

.adminTitle {color: var(--adminacc);}
.adminNote {color: var(--adminacc);font-size: 13px;}

.project-name {
	margin-bottom: 3px;06c39e
}

.date {
	line-height: 1.2;
	color: #8a8a8a;
	margin-bottom: 5px;
    font-size: 13px;
}
.city {
    line-height: 1.2;
    color: #8a8a8a;
}

.h1, h1 {
    color: #fff;
    letter-spacing: -0.3pt;
}
.h3, h3 {
    color: #fff;
    letter-spacing: -0.3pt;
    font-size: 21px;
}
h4 {font-size: 26px;}

hr {
	margin: 1rem 0;
	color: var(--sacc);
    opacity: 1;
}

.adminHR {border: 0; height: 3px; background-color: #06c39e; margin: 1rem 0;}

.progressGradient{
    background: rgb(184,250,141);
    background: linear-gradient(90deg, rgba(184,250,141,1) 0%, rgba(3,194,158,1) 100%);
    color: #24462c;
}

.card {
    background-color: #212121;
    border-radius: 10px;
    margin-bottom: 15px;
}
.card-body {
    padding: 10px;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}
.progress {
    background-color: #384553;
}

.text-muted {
    color: #848484 !important;
}

.pagerbox {
    background-color: #212121;
    border-radius: 10px;
    padding: 15px;
    background: linear-gradient(173deg, rgba(69, 69, 69, 1) 0%, rgba(0, 0, 0, 1) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.pagertextarea {
    background: #05F98A;
    background: linear-gradient(0deg, rgba(5, 249, 138, 1) 0%, rgba(0, 199, 109, 1) 100%);
    border: 2px solid #515151; 
    color: #345948;
    font-size: 45px; 
    font-family: 'LCDDot TR', monospace;
    line-height: 32px;
    width: 100%;
}
.pagertextarea:focus {
    background: #05F98A;
    background: linear-gradient(0deg, rgba(5, 249, 138, 1) 0%, rgba(0, 199, 109, 1) 100%);
    border: 2px solid #515151; 
    color: #345948;
    font-size: 45px; 
    font-family: 'LCDDot TR', monospace;
    line-height: 32px;
    box-shadow: none;
}

.text-danger {
    color: #ff4242 !important;
}
.text-sent {
    color: #2b2b2b; 
    background: #717a72;
    background: linear-gradient(0deg, rgba(113, 122, 114, 1) 0%, rgba(96, 112, 112, 1) 100%);
}
.counting {
    color: #5b5b5b;
}

.newsDate {
	background-color: #202020;
	color: #7b8aa2;
	font-size: 11px;
	padding: 1px 6px 0 6px;
	border-radius: 5px;
	display: inline-block;
	font-weight: bold;
	/* margin-left: 3px; */
	border: 1px #202020 solid;
}
.newBadge {
	background-color: #ff4242;
	color: white;
	font-size: 11px;
	padding: 1px 6px 0 6px;
	border-radius: 5px;
	display: inline-block;
	font-weight: bold;
	text-transform: uppercase;
	margin-left: 3px;
}
.newsText {
	font-size: 17px;
	color: #9ca8b3;
	margin: 0 5px;
}
.postInfo {margin-bottom: 10px;}

    .thread-closed-badge {
        display: inline-block;
        background-color: #464646;
        color: #888787;
        font-size: 11px;
        padding: 1px 6px 0 6px;
        border-radius: 5px;
        margin-left: 5px;
      	font-weight: bold;
    }
    .postIndex {
	margin-top: 5px;
	margin-bottom: 10px;
    }


.alert-danger {
	--bs-alert-color: var(--acc);
	--bs-alert-bg: #212121;
	--bs-alert-border-color: var(--acc);
	--bs-alert-link-color: var(--acc);
}
.alert-info {
	--bs-alert-color: var(--acc);
	--bs-alert-bg: #212121;
	--bs-alert-border-color: var(--acc);
	--bs-alert-link-color: var(--acc);
}
.siteNews {
	color: var(--acc);
	background-color: #212121;
	border: 1px solid var(--acc);
	padding: 13px;
	border: 1px solid var(--acc);
	border-radius: 9px;
}

.postText {color: #9fa9bb;font-size: 19px;}
hr {margin-top: 36px;margin-bottom: 30px;}
.sysField {color: #899095;}

.footerText {color:#6f7477;font-size: 13px;}

.btn.btn-primary.btn-sm.xblack {
	background: #121212;
	border-radius: 50px;
	border: 2px solid #121212;
	padding: 7px 13px;
}
/*----------------------------------------------------------------*/























@media screen and (max-width: 991px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }
    
    .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 5px;
    }

    .card {
        margin-bottom: 15px;
    }

    .login-container {
        width: 100%;
        padding: 10px;
    }

    h1, .h1 {
        font-size: 24px;
    }
    
    h2, .h2 {
        font-size: 32px;
    }

    h3, .h3 {
        font-size: 18px;
    }
    
    .pagertextarea, .pagertextarea:focus {
        font-size: 32px;
        line-height: 28px;
    }
    
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .header-controls {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .header-controls > div {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .header-controls .btn {
        margin-bottom: 5px;
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 5px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 8px;
    }
    
    h1, .h1 {
        font-size: 22px;
    }
    
    h2, .h2 {
        font-size: 29px;
    }
    
    .card-body {
        padding: 8px;
    }
    
    .pagerbox {
        padding: 10px;
    }
}


/*******************************************************************/
/*HEADER*/

.balance-link {
    text-decoration: none !important;
    color: inherit;
}

.balance-link:hover {
    text-decoration: none !important;
}

.balance-amount {
    font-weight: bold;
    margin-left: 5px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.balance-amount:hover {
    opacity: 0.8;
}

.balance-negative {
    color: #dc3545;
}

.balance-positive {
    color: #fff;
}

/********************************************************************/
/*PROJECT LIST*/

    .summary-card {
        background-color: #212121;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        border: 1px solid #333;
    }
    
    .summary-item {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #444;
    }
    
    .summary-item:last-child {
        border-bottom: none;
        padding-top: 15px;
        font-size: 1.2em;
        font-weight: bold;
    }
    
    .summary-label {
        color: #fff;
    }
    
    .summary-label2 {
        color: #4c5d91;
    }
    
    .summary-value {
        color: #fff;
        font-weight: 500;
    }
    
    .summary-value2 {
        color: #4c5d91;
        font-weight: 300;
    }
    
    .amount-negative {
        color: #dc3545;
    }
    
    .payment-form {
        background-color: #1a1a1a;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 30px;
        border: 2px solid var(--adminacc);
    }
    
    .form-control, .form-select {
        background-color: #2a2a2a;
        border-color: #444;
        color: #e0e0e0;
    }
    
    .form-control:focus, .form-select:focus {
        background-color: #2a2a2a;
        border-color: var(--acc);
        color: #e0e0e0;
        box-shadow: 0 0 0 0.25rem rgba(6, 195, 158, 0.25);
    }
    
    .table-dark {
        background-color: #212121;
    }
    
    .table-dark th {
        background-color: #1a1a1a;
        color: #979797;
        font-weight: 600;
        border-color: #444;
    }
    
    .table-dark td {
        border-color: #444;
        color: #e0e0e0;
    }
    
    .status-completed {
        color: var(--acc);
        font-weight: 500;
    }
    
    .status-progress {
        color: #ffc107;
    }
    
    .section-header {
        color: #fff;
        margin: 30px 0 20px 0;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--sacc);
    }
    
    .dateRange {
	color: #999;
    }


/************** PAYMENT HISTORY *******************/
    .amount-positive {
        color: #06c39e;
    }



/************** POSTS *******************/
    .post-item {
        margin-bottom: 20px;
        padding-bottom: 5px;
        border-bottom: 1px solid #444;
    }
    
    .post-item:last-child {
        border-bottom: none;
    }
    
    .post-header {
        margin-bottom: 10px;
    }
    
    .post-content img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }
    
    .replies-container {
        margin-top: 15px;
        padding-left: 20px;
        border-left: 2px solid #444;
    }
    
    .reply-item {
        padding: 10px;
        margin-bottom: 10px;
        background-color: #1a1a1a;
        border-radius: 5px;
    }
    
    .reply-author {
        font-weight: bold;
        color: var(--usacc);
        margin-bottom: 5px;
    }
    
    .reply-date {
        font-size: 12px;
        color: #666;
        margin-left: 10px;
        font-weight: normal;
    }
    
    .reply-text {
        color: #e0e0e0;
        padding-left: 10px;
    }
    
    .reply-form {
        margin-top: 15px;
        padding: 15px;
        background-color: #1a1a1a;
        border-radius: 17px;
        margin-bottom: 20px;
    }
    
    .reply-textarea {
        width: 100%;
        background-color: #2a2a2a;
        border: 1px solid #444;
        color: #e0e0e0;
        padding: 10px;
        border-radius: 5px;
        resize: vertical;
        min-height: 80px;
        margin-bottom: 10px;
    }
    
    .reply-textarea:focus {
        outline: none;
        border-color: var(--acc);
    }
    
    .btn-reply {
        background-color: #000;
        color: white;
        border: none;
        padding: 3px 14px;
        border-radius: 85px;
        cursor: pointer;
        margin-top: 10px;
        font-size: 13px;
    }
    
    .btn-reply:hover {
        background-color: #05b386;
    }
    
    .btn-reply:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .thread-closed-notice {
        padding: 1px 1px 1px 10px;
        background-color: #1a1a1a;
        border-radius: 5px;
        color: #6c7c91;
        font-style: italic;
        margin-top: 15px;
        font-size: 13px;
    }






/************** FILE MANAGER ********************/


    .upload-form {
        background-color: #1a1a1a;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 30px;
        border: 2px solid var(--acc);
    }
    
    .form-control, .form-select {
        background-color: #2a2a2a;
        border-color: #444;
        color: #e0e0e0;
    }
    
    .form-control:focus, .form-select:focus {
        background-color: #2a2a2a;
        border-color: var(--acc);
        color: #e0e0e0;
        box-shadow: 0 0 0 0.25rem rgba(6, 195, 158, 0.25);
    }
    
    .search-box {
        background-color: #2a2a2a;
        border: 1px solid #444;
        border-radius: 5px;
        padding: 10px 15px;
        color: #e0e0e0;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .search-box:focus {
        outline: none;
        border-color: var(--acc);
    }

    .file-thumbnail {
        width: 122px;
        height: 66px;
        object-fit: cover;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.2s;
    }
    
    .file-thumbnail:hover {
        transform: scale(1.1);
    }
    
    .btn-action {
        padding: 4px 10px;
        font-size: 12px;
        margin: 0 2px;
    }
    
    /* Lightbox styles */
    .lightbox {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        animation: fadeIn 0.3s;
    }
    
    .lightbox-content {
        margin: auto;
        display: block;
        max-width: 90%;
        max-height: 90%;
        margin-top: 50px;
        animation: zoomIn 0.3s;
    }
    
    .lightbox-close {
        position: absolute;
        top: 20px;
        right: 40px;
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }
    
    .lightbox-close:hover {
        color: var(--acc);
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes zoomIn {
        from { transform: scale(0.5); }
        to { transform: scale(1); }
    }
    
    /* Text viewer modal */
    .text-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .text-modal-content {
        background-color: #212121;
        margin: 5% auto;
        padding: 20px;
        border: 1px solid var(--acc);
        border-radius: 10px;
        width: 80%;
        max-height: 80%;
        overflow-y: auto;
    }
    
    .text-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #444;
    }
    
    .text-modal-title {
        color: var(--acc);
        font-size: 18px;
        font-weight: bold;
    }
    
    .text-modal-close {
        color: #aaa;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }
    
    .text-modal-close:hover {
        color: var(--acc);
    }
    
    .text-content {
        color: #e0e0e0;
        font-family: monospace;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    
    .edit-form {
        display: none;
    }
    
    .file-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #4a5064;
        border-radius: 5px;
        color: #fff;
        font-size: 12px;
        font-weight: bold;
    }
    .btn-text {
        color: #7ec2ff;    
    }
    .btn-dark {
        background-color: #000;
        border-radius: 50px;
        padding: 6px 20px;
    }




/**************** ACCOUNT INFORMATION *******************/

    .account-card {
        background-color: #212121;
        border-radius: 10px;
        padding: 30px;
        margin-bottom: 20px;
        border: 1px solid #333;
    }
    
    .info-item {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px solid #444;
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .info-label {
        color: var(--usacc);
        font-weight: 600;
        min-width: 150px;
    }
    
    .info-value {
        color: #e0e0e0;
        flex: 1;
        text-align: right;
        font-size: 19px;
    }
    
    .info-value.editable {
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 4px;
        transition: background-color 0.3s;
    }
    
    .info-value.editable:hover {
        background-color: rgba(6, 195, 158, 0.1);
    }
    
    .info-value.editing {
        padding: 0;
    }
    
    .inline-edit-input {
        background-color: #2a2a2a;
        border: 2px solid #06c39e;
        color: #e0e0e0;
        padding: 5px 10px;
        border-radius: 4px;
        width: 100%;
        text-align: right;
    }
    
    .inline-edit-input:focus {
        outline: none;
        box-shadow: 0 0 0 0.25rem rgba(6, 195, 158, 0.25);
    }
    
    .edit-buttons {
        display: flex;
        gap: 5px;
        justify-content: flex-end;
        margin-top: 5px;
    }
    
    .edit-buttons button {
        padding: 3px 10px;
        font-size: 12px;
    }
    
    .section-title {
        color: #fff;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--acc);
    }
    
    .alert-success {
        background-color: #0d6efd;
        border-color: #0d6efd;
        color: #ffffff;
    }
    
    .client-duration {
        color: #e0e0e0;
        font-weight: 500;
    }
    
    .edit-indicator {
        color: #06c39e;
        font-size: 12px;
        margin-left: 5px;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .info-value.editable:hover .edit-indicator {
        opacity: 1;
    }
    
    .saving {
        opacity: 0.5;
        pointer-events: none;
    }
    
    .user-selector {
        background-color: #2a2a2a;
        border: 1px solid #444;
        color: #e0e0e0;
        padding: 8px 15px;
        border-radius: 5px;
        margin-bottom: 20px;
    }
    
    .user-selector:focus {
        background-color: #2a2a2a;
        border-color: #06c39e;
        color: #e0e0e0;
        box-shadow: 0 0 0 0.25rem rgba(6, 195, 158, 0.25);
    }