body {
    background-color: #f0f2f5;
    color: #1c1e21;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    background: url('https://png.pngtree.com/background/20231117/original/pngtree-d-render-of-a-basketball-stadium-court-illuminated-by-bright-field-picture-image_6297023.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
}

#logoutButton {
    position: absolute;
    top: 4rem !important;
    right: 20px;
    display: none;
}

.hidden {
    display: none;
}

.container {
    max-width: 900px;
    padding: 2rem;
}

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.toggle-container span {
    margin: 0 0.5rem;
}

.form-check.form-switch {
    display: flex;
    align-items: center;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
    border: none;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-header {
    background-color: #4267B2;
    color: white;
    padding: 1.5rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-weight: bold;
}

.card-title {
    color: #4267B2;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #dddfe2;
    font-size: 17px;
    padding: 14px 16px;
    transition: border 0.3s ease;
}

.form-control:focus {
    border-color: #4267B2;
    box-shadow: 0 0 0 2px rgba(66, 103, 178, 0.2);
}

.btn {
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    max-height: 70px;
}

.btn-primary {
    background-color: #4267B2;
    border-color: #4267B2;
}

.btn-primary:hover {
    background-color: #365899;
    border-color: #365899;
}

.btn-secondary {
    background-color: #f5f6f7;
    border-color: #ccd0d5;
    color: #4b4f56;
}

.btn-secondary:hover {
    background-color: #ebedf0;
    border-color: #ccd0d5;
    color: #4b4f56;
}

.file-item {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(auto, 100px) minmax(auto, 120px);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e9ebee;
    transition: background-color 0.3s ease;
}

.file-item-col1 { /* Soldaki Kolon */
}

.file-item-col2 { /* Ortadaki Kolon */
    justify-self: end;
}

.file-item-col3 { /* Sağdaki Kolon */
    justify-self: end;
    display: flex;
    align-items: center;
}

.file-item:hover {
    background-color: #f5f6f7;
}

.form-check-input {
    cursor: pointer;
    margin-right: 3px;
}

.tick-mark {
    display: none;
    color: green;
    font-size: 1.5rem;
    margin-left: 10px;
}



#saveButton:disabled {
    background-color: #d3d3d3;
    border-color: #d3d3d3;
    color: #6c757d;
    cursor: not-allowed;
}



.glowing-checkbox {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.25);
}

.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #22ba00;
    color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
}


@media (max-width: 768px) {
    .logo {
        width: 80px;
        top: 2.5rem !important;
        left: 10px;
    }

    #logoutButton {
        top: 10px;
        right: 10px;
        padding: 0.5rem 1rem;
        font-size: 14px;
        display: block;
        max-width: 150px;
    }

    .container {
        padding: 1rem;
        max-width: 100%;
    }

    .file-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        justify-content: center;
    }

    .file-item-col2, .file-item-col3 {
        justify-self: center;
    }

    .file-item-col3 {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .tick-mark {
        margin-left: 0;
        margin-top: 0.5rem;
    }

        .file-item-col1, .file-item-col2 {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .logo {
        width: 60px;
    }

    #logoutButton {
        font-size: 12px;
        max-width: 120px;
    }

    .file-item {
        padding: 0.5rem;
    }

    .form-control {
        font-size: 15px;
        padding: 10px 12px;
    }

    .btn {
        font-size: 15px;
        padding: 0.5rem 1rem;
    }
}

#statusMessage {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    display: none;
    background-color: #28a745;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

div.container.mt-5 {
    margin-top: 6rem !important;
}