* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #333;
}

/* Blazor Error UI */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}
/* Removed unused styles: .container, .header-banner, .dashboard-cards, .dashboard-card - no longer used in current design */
.xml-panel {
    background: #f8fafc;
    border-radius: 18px;
    box-shadow: 0 6px 32px 0 rgba(25, 118, 210, 0.10), 0 1.5px 6px 0 rgba(25, 118, 210, 0.08);
    padding: 40px 40px 32px 40px;
    margin: 0 auto 32px auto;
    max-width: 1600px;
    border: 1.5px solid #e3eafc;
    position: relative;
}

.xml-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    border-bottom: 1.5px solid #e3eafc;
    padding-bottom: 18px;
}

.xml-panel-header h1,
.xml-panel-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2.1rem;
    margin: 0;
    color: #1976d2;
    font-weight: 700;
    letter-spacing: 1px;
}

.back-btn {
    background: linear-gradient(90deg, #e3eafc 0%, #bbdefb 100%);
    color: #1976d2;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.07);
}
.back-btn:hover {
    background: #1976d2;
    color: #fff;
}

.xml-form-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    justify-content: flex-start;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 220px;
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1.5px 6px 0 rgba(25, 118, 210, 0.07);
    padding: 18px 18px 12px 18px;
    margin-bottom: 0;
    border: 1.2px solid #e3eafc;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.08rem;
}

.form-control, select, input[type="file"] {
    border: 1.5px solid #b0bec5;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 1.08rem;
    background: #f4f8fb;
    color: #0d47a1;
    transition: border 0.2s;
    margin-bottom: 0;
}

.form-control:focus, select:focus, input[type="file"]:focus {
    border: 1.5px solid #1976d2;
    outline: none;
}

.align-end {
    display: flex;
    align-items: flex-end;
}

.btn.btn-primary {
    background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.07);
}
.btn.btn-primary:disabled {
    background: #b0bec5;
    cursor: not-allowed;
}

.xml-output-panel {
    margin-top: 24px;
    background: #f4f4f4;
    padding: 24px;
    border-radius: 6px;
    min-height: 400px;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    max-width: 100%;
}

/* PDF için özel stiller - sayfa kırılmalarını önlemek için */
@media print {
    .xml-output-panel {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    .xml-output-panel * {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

/* Google Material Icons için */
.material-icons {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: normal;
    font-size: 1.3em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.xml-export-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1.5px 6px 0 rgba(25, 118, 210, 0.07);
    border: 1.2px solid #e3eafc;
}

.xml-export-row.hidden {
    display: none;
}
.btn.btn-secondary {
    background: #e3eafc;
    color: #1976d2;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.07);
}
.btn.btn-secondary:hover {
    background: #1976d2;
    color: #fff;
}

/* IBAN Kontrol Stilleri */
.iban-input {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.form-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
}

.iban-result {
    margin-top: 32px;
    padding: 32px;
    border-radius: 12px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.iban-valid {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
}

.iban-invalid {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
}

.result-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.iban-valid .result-icon {
    background: #4caf50;
    color: #fff;
}

.iban-invalid .result-icon {
    background: #f44336;
    color: #fff;
}

.result-content {
    flex: 1;
}

.result-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: #333;
}

.result-content p {
    margin: 8px 0;
    color: #555;
    line-height: 1.6;
}

.iban-details {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
}

.iban-details code {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #0d47a1;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        height: auto;
        padding: 16px;
    }
    
    .navbar-menu {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    
    .nav-link {
        flex: 1;
        justify-content: center;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .xml-form-row {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .iban-result {
        flex-direction: column;
        text-align: center;
    }
    
    .content {
        padding: 16px;
    }
    
    .xml-panel {
        padding: 24px;
    }
}

/* Top Navigation Bar */
.top-navbar {
    background: linear-gradient(90deg, #0d47a1 0%, #1976d2 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    transition: opacity 0.2s;
}

.brand-link:hover {
    opacity: 0.9;
}

.brand-icon {
    font-size: 1.8rem;
}

.brand-text {
    letter-spacing: 0.5px;
}

.navbar-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-description {
    color: #666;
    font-size: 1rem;
    margin-top: 8px;
    line-height: 1.6;
}

.main {
    min-height: calc(100vh - 200px);
    padding-bottom: 120px;
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

.site-footer {
    width: 100%;
    background: linear-gradient(90deg, #0d47a1 0%, #1976d2 100%);
    color: #fff;
    text-align: center;
    padding: 32px 24px;
    margin-top: 64px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 8px 0;
    opacity: 0.95;
}

.footer-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.footer-credit {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s, text-decoration 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-link:hover {
    opacity: 1;
    border-bottom-color: #fff;
    text-decoration: none;
} 