﻿body::before {
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: var(--bg-gradient);
}


#content {
    flex: 1;
    padding: 20px;
    margin-right: var(--sidebar-width);
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 40px);
}

.layout-body {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--content-bg);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.mobile-toggle-btn {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    background: rgba(60, 45, 90, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .mobile-toggle-btn:hover {
        background: rgba(138, 99, 210, 0.8);
    }

    .mobile-toggle-btn i {
        font-size: 1.2rem;
    }

    .mobile-toggle-btn.active i {
        transform: rotate(90deg);
    }

.btn-primary {
    background: linear-gradient(135deg, #8A63D2, #6C42B5);
    border: none;
    box-shadow: 0 4px 10px rgba(138, 99, 210, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #7A53C2, #5C32A5);
        box-shadow: 0 6px 12px rgba(138, 99, 210, 0.4);
    }

@media screen and (max-width: 768px) {
    .mobile-toggle-btn {
        display: flex;
    }

    #content {
        padding: 10px;
        margin-right: 0;
        min-height: calc(100vh - 20px);
    }

    .layout-body {
        padding: 15px;
        border-radius: 8px;
    }

    .layout-body-content {
        padding: 10px;
        width: 100%;
    }

    .project-form {
        padding: 0;
    }
}
