* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    color: #2c3e50;
    line-height: 1.6;
}

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: #1e3a5f;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.login-box h1 {
    color: #1e3a5f;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}

.login-box h2 {
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid #dc2626;
}

.header {
    background: #1e3a5f;
    border-bottom: none;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-logo img {
    height: 36px;
    width: auto;
}

.header h1 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
    letter-spacing: -0.3px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info span {
    color: #ffffff;
    padding: 0;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.page-header h2 {
    color: #1e3a5f;
    font-size: 24px;
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
    letter-spacing: -0.3px;
}

.btn {
    padding: 12px 24px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #64748b;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #475569;
}

.btn-danger {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    padding: 0;
    background: transparent;
    border: none;
    width: auto;
    text-transform: none;
    letter-spacing: 0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select,
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.2s ease;
    color: #1f2937;
}

.form-group input:focus,
.form-group select:focus,
.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    background: #f9fafb;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    width: auto;
    text-transform: none;
    letter-spacing: 0;
    color: #374151;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    accent-color: #2563eb;
}

.form-section {
    background: #ffffff;
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.profile-section {
    background: #ffffff;
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.profile-header h3 {
    color: #1e3a5f;
    font-size: 20px;
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
    letter-spacing: -0.3px;
}

.profile-config {
    margin-top: 20px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.bridges-list {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.bridges-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.bridges-table thead {
    background: transparent;
}

.bridges-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border: none;
    background: #f9fafb;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.bridges-table th:first-child {
    border-top-left-radius: 8px;
}

.bridges-table th:last-child {
    border-top-right-radius: 8px;
}

.bridges-table td {
    padding: 16px;
    border: none;
    background: #ffffff;
    font-size: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.bridges-table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.bridges-table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.bridges-table tr:nth-child(even) td {
    background: #f9fafb;
}

.bridges-table tr:hover td {
    background: #f3f4f6;
}

.bridges-table .btn {
    margin-right: 8px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    border: none;
    background: transparent;
}

.empty-state p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
    border: none;
    padding: 0;
    background: transparent;
    display: block;
    color: #6b7280;
}

.info-text {
    color: #6b7280;
    font-size: 14px;
    border: none;
    padding: 0;
    background: transparent;
    display: block;
    font-style: italic;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .bridges-table {
        font-size: 12px;
    }
    
    .bridges-table th,
    .bridges-table td {
        padding: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        text-align: center;
    }
}
