@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    color: #555;
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 400;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.login-container label {
    display: block;
    font-size: 1em;
    color: #555;
    margin: 10px 0 5px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.login-container input:focus {
    border-color: #3498db;
}

.login-container button {
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 400;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-top: 10px;
}

.login-container button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.login-container button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.message {
    margin-top: 15px;
    font-size: 1em;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.message.error {
    background: #ffebee;
    color: #c62828;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 500px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}

#map {
    width: 100%;
    height: 100vh;
}
#sidebar {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
    display: none;
}
#toggleSidebar {
    position: fixed;
    top: 10px;
    right: 320px;
    padding: 5px 10px;
    cursor: pointer;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 400;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.form-container {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.form-container h2 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

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

.form-group label {
    display: block;
    font-size: 1em;
    color: #555;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
}

.progress-container {
    margin-top: 15px;
    display: none;
}

.progress-container.active {
    display: block;
}

.progress-bar {
    width: 100%;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    height: 20px;
}

.progress-fill {
    height: 100%;
    background: #4caf50;
    width: 0;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
}

.message {
    margin-top: 15px;
    font-size: 1em;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.message.success {
    background: #e7f3e7;
    color: #2e7d32;
    display: block;
}

.message.error {
    background: #ffebee;
    color: #c62828;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 500px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .form-container {
        padding: 15px;
    }
}

@media (max-width: 500px) {
    #map .ymaps-2-1-78-point {
        width: 30px;
        height: 30px;
    }
}