﻿.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.company-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.3rem;
}

.company-card {
    width: 100%;
    max-width: 370px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: var(--auth-bg);
    border-radius: var(--auth-card-radius);
    padding: 1rem;
    box-shadow: var(--auth-card-shadow);
}

.company-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

    .company-header h1 {
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: 0.05em;
    }

.company-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-height: 60vh;
    overflow-y: auto;
    padding: 0.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(34, 139, 230, 0.15);
}

    .company-list::-webkit-scrollbar {
        width: 6px;
    }

    .company-list::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

@media (max-width: 768px) {
    .company-list {
        max-height: 40vh;
    }
}

.company-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--dash-radius);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(34, 139, 230, 0.2);
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.15s ease, transform 0.1s ease;
}

    .company-item i {
        color: var(--dash-primary);
    }

    .company-item:hover {
        background: rgba(34, 139, 230, 0.08);
    }

    .company-item.selected {
        background: rgba(34, 139, 230, 0.15);
        border-color: var(--dash-primary);
        box-shadow: inset 0 0 0 1px rgba(44, 90, 160, 0.4);
    }

.primary-action {
    min-height: 44px;
    height: 48px;
    width: 100%;
    display: block;
    margin: 0.5rem auto;
    background: var(--dash-primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.05s ease;
}

    .primary-action:hover {
        background: var(--dash-primary-hover, var(--dash-primary));
        filter: brightness(1.05);
    }

    .primary-action:active {
        transform: translateY(1px);
    }

    .primary-action:focus-visible {
        outline: 2px solid var(--dash-primary);
        outline-offset: 2px;
    }

    .primary-action:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .primary-action:disabled {
        opacity: 0.6;
    }

.company-skeleton {
    height: 56px;
    border-radius: 10px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #ececec 25%, #f5f5f5 37%, #ececec 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}
