/* FPS Yönetim Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0A0E1A 0%, #1E2435 100%);
    color: #F5F7FA;
    min-height: 100vh;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C9A84C, #E8C97A);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #0A0E1A;
    margin-bottom: 10px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #C9A84C;
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #F5F7FA;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid #EF4444;
    color: #EF4444;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #8892A4;
    font-size: 14px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 10px;
    color: #F5F7FA;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #C9A84C;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #C9A84C, #E8C97A);
    color: #0A0E1A;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

.btn-block {
    width: 100%;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #F5F7FA;
}

.footer-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links p {
    margin-bottom: 10px;
    color: #8892A4;
}

.footer-links a {
    color: #C9A84C;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-left h1 {
    color: #C9A84C;
    font-size: 28px;
}

.header-left p {
    color: #8892A4;
    margin-top: 5px;
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-info {
    color: #8892A4;
    font-size: 14px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.portal-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
    cursor: pointer;
}

.portal-card:hover {
    border-color: #C9A84C;
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(201,168,76,0.2);
}

.portal-card h3 {
    color: #F5F7FA;
    font-size: 18px;
    margin-bottom: 10px;
}

.portal-card p {
    color: #8892A4;
    font-size: 14px;
}

.portal-card .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C9A84C, #E8C97A);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

/* Settings Page */
.settings-section {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
}

.settings-section h3 {
    color: #C9A84C;
    margin-bottom: 20px;
    font-size: 20px;
}

.credential-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.credential-item {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.credential-info h4 {
    color: #F5F7FA;
    margin-bottom: 5px;
}

.credential-info p {
    color: #8892A4;
    font-size: 14px;
}

.credential-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-danger {
    background: rgba(239,68,68,0.2);
    color: #EF4444;
}

.btn-danger:hover {
    background: rgba(239,68,68,0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1E2435;
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    color: #C9A84C;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    color: #8892A4;
    font-size: 24px;
    cursor: pointer;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}