﻿/* Genel Stil Ayarları */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

/* Form Container */
.container {
    display: flex;
    min-height: 90vh;
    margin: 0 auto;
    width: 80%;
    max-width: 1200px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #007BFF;
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .sidebar h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .sidebar p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .sidebar .btn-login {
        background-color: #ffffff;
        color: #007BFF;
        border: none;
        padding: 10px 20px;
        font-size: 1rem;
        cursor: pointer;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

        .sidebar .btn-login:hover {
            background-color: #0056b3;
        }

/* Main Content */
.content {
    flex: 1;
    padding: 20px;
    background-color: #ffffff;
}

/* Steps Navigation */
.steps-nav {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

    .steps-nav .nav-link {
        background-color: #007BFF;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .steps-nav .nav-link:hover {
            background-color: #0056b3;
        }

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Step Content */
.step-content {
    display: none;
    margin-top: 20px;
}

    .step-content.active {
        display: block;
    }

    .step-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: #333;
    }

/* Form Row (Input Fields) */
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

    .form-row input {
        width: 48%;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }

        .form-row input:focus {
            outline: none;
            border-color: #007BFF;
        }

select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

    select:focus {
        border-color: #007BFF;
        outline: none;
    }

/* File Upload */
.file-upload {
    margin-bottom: 20px;
}

    .file-upload label {
        display: block;
        font-size: 1.1rem;
        color: #333;
        margin-bottom: 5px;
    }

    .file-upload input[type="file"] {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }

        .file-upload input[type="file"]:focus {
            outline: none;
            border-color: #007BFF;
        }

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

input[type="date"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Button Styles */
button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 10;
}

    button:hover {
        background-color: #0056b3;
    }

/* Submit Button */
.btn-submit {
    background-color: #28a745;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 200px;
    text-align: center;
    transition: background-color 0.3s ease;
}

    .btn-submit:hover {
        background-color: #218838;
    }

/* Previous Button */
.btn-prev {
    background-color: #dc3545;
}

    .btn-prev:hover {
        background-color: #c82333;
    }

#modal .modal-content {
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Footer */
footer.card-footer {
    background-color: #f8f9fa;
    padding: 10px 0;
   
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: fixed; /* Gerektiğinde sabitlenebilir */
    z-index: 1; 
}

    footer.card-footer img {
        margin-top: 3px;
        width: 60px;
        height: 30px;
        transition: transform 0.3s ease-in-out;
    }

        footer.card-footer img:hover {
            transform: scale(1.1);
        }

/* Responsive Design */
    @media (max-width: 768px) {
        .container {
            flex-direction: column;
            width: 100%;
            padding: 10px;
        }

        .sidebar {
            width: 100%;
            text-align: center;
        }

        .content {
            width: 100%;
        }

        .steps-nav {
            flex-direction: column;
            gap: 10px;
        }

        .form-row {
            flex-direction: column;
        }

            .form-row input {
                width: 100%;
            }
    }
