/* Tertiary Button Component - минималистичная кнопка с тонкой границей */

.btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 2px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;

    text-decoration: none;
    font-weight: 600;
    font-family: inherit;

    cursor: pointer;
    transition: all 0.3s ease;

    /* Размеры по умолчанию (medium) */
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 12px;
}

.btn-tertiary:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.btn-tertiary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.2);
}

/* Размеры */
.btn-tertiary.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

.btn-tertiary.btn-md {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 12px;
}

.btn-tertiary.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-tertiary.btn-xl {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 14px;
}

/* Со стрелкой */
.btn-tertiary.with-arrow::after {
    content: "→";
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-tertiary.with-arrow:hover::after {
    transform: translateX(5px);
}

/* Полная ширина */
.btn-tertiary.full-width {
    width: 100%;
}

/* Disabled состояние */
.btn-tertiary:disabled,
.btn-tertiary.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Цветовые варианты */
.btn-tertiary.blue {
    border-color: rgba(0, 204, 221, 0.3);
    color: #00ccdd;
}

.btn-tertiary.blue:hover {
    background: rgba(0, 204, 221, 0.1);
    border-color: rgba(0, 204, 221, 0.5);
    box-shadow: 0 4px 15px rgba(0, 204, 221, 0.2);
}

.btn-tertiary.white {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.btn-tertiary.white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-tertiary.red {
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.btn-tertiary.red:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.5);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .btn-tertiary.btn-xl {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-tertiary.btn-lg {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .btn-tertiary.btn-xl,
    .btn-tertiary.btn-lg {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .btn-tertiary.btn-md {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .btn-tertiary.btn-sm {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
}