.login-body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: #333;
    color: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin: 0;
}

.logout-btn {
    background: #d9534f;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.logout-btn:hover {
    background: #c9302c;
}

/* Стили для шахматки приложений */
h3 {
    margin: 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.app-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* .app-card:hover .app-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
} */

.short-desc {
    opacity: 1;
    /* transition: opacity 0.3s ease; */
}

.full-desc {
    opacity: 0;
    position: absolute;
    top: 50px;
    left: 20px;
    right: 20px;
    /* transition: opacity 0.3s ease; */
}

.card-scope {
    display: flex;
    position: absolute;
    bottom: 10px;
    left: 10px;
    gap: 4px;
    flex-direction: row;
    flex-wrap: wrap;
}
.card-scope-elem {
    background-color: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 16px;
}

.app-card:hover .short-desc {
    opacity: 0;
}

.app-card:hover .full-desc {
    opacity: 1;
}
.app-card:hover .card-scope {
    opacity: 0;
}

a.app-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Стили для карточек в разработке */
.app-card.in-development {
    position: relative;
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #e2dfdf;
}

.app-card.in-development:hover .short-desc {
    opacity: 1;
}
.app-card.in-development:hover .full-desc {
    opacity: 0;
}
.app-card.in-development:hover .card-scope {
    opacity: 1;
}
.app-card.in-development:hover {
    transform: unset;
    box-shadow: unset;
}
/* .app-card.in-development:hover .app-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
} */

.app-card.in-development .app-content {
    pointer-events: none;
}

.dev-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff9800;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.app-card.in-development:hover {
    transform: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.app-card.in-development .app-title {
    color: #666;
}

.app-card.in-development .short-desc,
.app-card.in-development .full-desc {
    color: #777;
}

/* //////////////////////////////////////////////////////////// */

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.input-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 0.7rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #45a049;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 1rem;
}