﻿body {
    overflow-x: hidden;
}
.sidebar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 225px;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


    .sidebar a {
        color: #ecf0f1;
        display: block;
        padding: 12px 24px;
        text-decoration: none;
        font-weight: 600;
        border-radius: 30px 0 0 30px;
        margin: 4px 0 4px 8px;
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    }

        .sidebar a:hover {
            background-color: #5d6d7e;
            color: #fff;
            transform: translateX(6px);
            box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.25);
        }

    
    .sidebar form {
        margin: 0 12px 20px 12px;
        padding-top: 15px;
        border-top: 1px solid #506678;
    }

        .sidebar form button {
            color: #ff6b6b !important;
            background: rgba(255, 107, 107, 0.1);
            border: 1.5px solid rgba(255, 107, 107, 0.4) !important;
            width: 100%;
            padding: 14px 22px;
            font-weight: 700;
            border-radius: 16px;
            text-align: left;
            font-size: 1rem;
            box-shadow: 0 2px 10px rgba(255, 107, 107, 0.2);
            transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
            cursor: pointer;
        }

            .sidebar form button:hover {
                background-color: #e74c3c !important;
                color: white !important;
                border-color: #e74c3c !important;
                transform: translateX(5px);
                box-shadow: 0 6px 18px rgba(231, 76, 60, 0.5);
            }


.content {
    margin-left: 220px;
    padding: 2rem;
    min-height: 100vh;
    background: #f8f9fa;
    transition: margin-left 0.3s ease;
}
