/* Стили для модальных окон */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a40, #2a2a60);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    border: 1px solid rgba(5, 117, 230, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: #ffeb3b;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease;
    z-index: 10;
}

.close:hover {
    color: #ffcc00;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #00f260;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(5, 117, 230, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #00f260;
    box-shadow: 0 0 0 3px rgba(0, 242, 96, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.form-actions button {
    background: linear-gradient(45deg, #00f260, #0575e6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 96, 0.3);
}

.form-actions a {
    color: #00f260;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-actions a:hover {
    color: #0575e6;
    text-decoration: underline;
}

/* Стили для заголовка модального окна */
.modal h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
    background: linear-gradient(45deg, #00f260, #0575e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
