/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

/* Header Styles */
.header-top {
    background: linear-gradient(135deg, #8B2635 0%, #A73847 100%);
    color: white;
    padding: 15px 0;
    position: relative;
}

.header-top .row {
    align-items: center;
    justify-content: space-between;
}

.header-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
    text-align: left;
}

.subtitle {
    font-weight: 400;
    font-size: 20px;
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.btn-language {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-login {
    background: #C8860D;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-language:hover,
.btn-login:hover {
    opacity: 0.9;
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    height: calc(100vh - 60px - 160px);
    position: relative;
}

.main-content .container-fluid {
    max-width: 100%;
    padding: 0;
    width: 100%;
    height: 100%;
}

.main-content .row {
    margin: 0;
    height: 100%;
}

.left-bg {
    background: linear-gradient(135deg, #4A90A4 0%, #7AB8CC 50%, #B8D4E3 100%);
    position: relative;
    height: 100%;
    padding: 0;
}

.left-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.content-area {
    background: #F5F7FA;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.content-box {
    background: white;
    width: 100%;
    max-width: 750px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0 auto;
}

/* System Header */
.system-header {
    padding: 25px 30px 20px 30px;
    border-bottom: 1px solid #E8ECF0;
    text-align: left;
}

.system-header h2 {
    color: #2C3E50;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.system-subtitle {
    color: #7F8C8D;
    font-size: 14px;
    margin-bottom: 15px;
}

.breadcrumb-custom {
    color: #95A5A6;
    font-size: 13px;
}

.breadcrumb-custom span:last-child {
    color: #3498DB;
}

/* Navigation Tabs */
.nav-tabs-custom {
    background: #F8F9FA;
    border-bottom: 1px solid #E8ECF0;
    padding: 0 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 18px;
    font-size: 13px;
    color: #6C757D;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.tab-btn.active {
    color: #8B2635;
    border-bottom-color: #8B2635;
    background: white;
}

.tab-btn:hover:not(.active) {
    color: #495057;
    background: rgba(255,255,255,0.5);
}

/* Content Section */
.content-section {
    padding: 25px 30px 30px 30px;
}

.content-section h3 {
    color: #2C3E50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Integration Box */
.integration-box {
    padding-right: 20px;
}

.integration-title {
    color: #E74C3C;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
}

.integration-box p {
    color: #34495E;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: justify;
}

/* E-Devlet Button */
.btn-edevlet {
    background: #E74C3C;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
}

.btn-edevlet:hover {
    background: #C0392B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    color: white;
}

/* Footer */
.footer {
    background: #2C3E50;
    color: white;
    padding: 30px 0 15px 0;
    margin-top: 0;
    flex-shrink: 0;
}

.footer .container-fluid {
    max-width: 1400px;
}

.footer-section {
    margin-bottom: 25px;
}

.footer-section h5 {
    color: #ECF0F1;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section p {
    color: #BDC3C7;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #3498DB;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #5DADE2;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.contact-info li {
    color: #3498DB;
    font-size: 12px;
    margin-bottom: 4px;
}

.contact-details p {
    color: #BDC3C7;
    font-size: 11px;
    margin-bottom: 3px;
}

.footer-bottom {
    border-top: 1px solid #34495E;
    padding-top: 15px;
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    color: #95A5A6;
    font-size: 11px;
    margin: 0;
}

/* Desktop Specific */
@media (min-width: 1200px) {
    .main-content {
        height: calc(100vh - 60px - 140px);
    }
    
    .content-area {
        padding: 60px;
    }
    
    .content-box {
        max-width: 850px;
    }
    
    .system-header {
        padding: 30px 35px 25px 35px;
    }
    
    .nav-tabs-custom {
        padding: 0 35px;
    }
    
    .content-section {
        padding: 30px 35px 35px 35px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .left-bg {
        min-height: 300px;
        height: auto;
    }
    
    .main-content {
        height: auto;
        min-height: calc(100vh - 60px - 160px);
    }
    
    .content-area {
        padding: 20px 15px;
        height: auto;
        align-items: flex-start;
    }
    
    .content-box {
        max-width: 100%;
    }
    
    .system-header {
        padding: 20px 25px 15px 25px;
    }
    
    .nav-tabs-custom {
        padding: 0 25px;
    }
    
    .content-section {
        padding: 20px 25px 25px 25px;
    }
}

@media (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
    }
    
    .header-top {
        padding: 12px 0;
    }
    
    .header-title {
        font-size: 18px;
        text-align: center;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .header-buttons {
        justify-content: center;
        gap: 10px;
    }
    
    .btn-language,
    .btn-login {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .main-content {
        height: auto;
        min-height: calc(100vh - 120px);
    }
    
    .main-content .row {
        flex-direction: column;
        height: auto;
    }
    
    .left-bg {
        min-height: 150px;
        height: 150px;
        order: 2;
    }
    
    .content-area {
        order: 1;
        padding: 15px 10px;
        height: auto;
        align-items: flex-start;
    }
    
    .content-box {
        border-radius: 6px;
    }
    
    .system-header {
        padding: 15px 20px 12px 20px;
        text-align: center;
    }
    
    .system-header h2 {
        font-size: 18px;
    }
    
    .nav-tabs-custom {
        padding: 0 20px;
        justify-content: center;
    }
    
    .tab-btn {
        font-size: 11px;
        padding: 10px 12px;
    }
    
    .content-section {
        padding: 15px 20px 20px 20px;
    }
    
    .content-section h3 {
        font-size: 16px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .integration-title {
        font-size: 14px;
        text-align: center;
    }
    
    .integration-box {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .footer .row > div {
        margin-bottom: 20px;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    body {
        height: auto;
        min-height: 100vh;
    }
    
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .header-top .row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .header-title {
        font-size: 16px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .main-content {
        height: auto;
        min-height: calc(100vh - 140px);
    }
    
    .content-area {
        padding: 10px 5px;
        height: auto;
        align-items: flex-start;
    }
    
    .system-header {
        padding: 12px 15px 10px 15px;
    }
    
    .system-header h2 {
        font-size: 16px;
    }
    
    .system-subtitle {
        font-size: 12px;
    }
    
    .breadcrumb-custom {
        font-size: 11px;
    }
    
    .nav-tabs-custom {
        padding: 0 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
    }
    
    .content-section {
        padding: 12px 15px 15px 15px;
    }
    
    .content-section .row {
        flex-direction: column;
    }
    
    .integration-box p {
        font-size: 12px;
        text-align: left;
    }
    
    .btn-edevlet {
        margin-top: 15px;
        font-size: 12px;
    }
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #8B2635 0%, #A73847 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 600;
    font-size: 18px;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px 25px;
    font-family: 'Open Sans', sans-serif;
}

.modal-body h6 {
    color: #2C3E50;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 0;
}

.modal-body p {
    color: #34495E;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.modal-footer {
    border-top: 1px solid #E8ECF0;
    padding: 20px 25px;
}

.modal-footer .btn-primary {
    background: #3498DB;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary:hover {
    background: #2980B9;
    transform: translateY(-1px);
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: translateY(-50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
} 