/**
 * WP Plugin GoTo Styles
 * Стили для отображения кнопок скачивания приложений
 */

.wp-goto-buttons-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
    padding: 2rem;
    background-color: transparent;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Десктоп: 2 кнопки в ряд (2 ряда) */
.wp-goto-button-wrapper {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-goto-button-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
    height: 100%;
}

.wp-goto-button-wrapper a:hover {
    transform: scale(1.05);
    opacity: 0.9;
    text-decoration: none !important;
}

/* Все кнопки одинаковой высоты */
.wp-goto-button-wrapper {
    min-height: 80px;
}

.wp-goto-button-image {
    width: 100%;
    height: 80px;
    object-fit: contain;
    display: block;
}

/* Стили для кнопки "Register" (зеленая) */
.wp-goto-register-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: #09c600;
    border-radius: 10px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    height: 80px;
    box-shadow: 0 4px 12px rgba(9, 198, 0, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

.wp-goto-register-link:hover {
    background: #08b000;
    box-shadow: 0 6px 16px rgba(9, 198, 0, 0.5);
    transform: scale(1.05);
    text-decoration: none !important;
}

.wp-goto-register-text {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
}

/* Стили для кнопки "Log in" (синяя) */
.wp-goto-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: #1e73be;
    border-radius: 10px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    height: 80px;
    box-shadow: 0 4px 12px rgba(30, 115, 190, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

.wp-goto-login-link:hover {
    background: #155a94;
    box-shadow: 0 6px 16px rgba(30, 115, 190, 0.5);
    transform: scale(1.05);
    text-decoration: none !important;
}

.wp-goto-login-text {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
}

/* Мобильные: по 1 кнопке в ряду вертикально */
@media (max-width: 768px) {
    .wp-goto-buttons-container {
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 15px;
        align-items: center;
        max-width: 280px;
    }
    
    .wp-goto-button-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .wp-goto-button-image {
        width: 100%;
        height: 70px;
    }
    
    .wp-goto-register-link,
    .wp-goto-login-link {
        padding: 12px 25px;
        font-size: 15px;
        height: 70px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wp-goto-buttons-container {
        padding: 1rem 0.5rem;
        gap: 12px;
        max-width: 250px;
    }
    
    .wp-goto-button-image {
        height: 65px;
    }
    
    .wp-goto-register-link,
    .wp-goto-login-link {
        padding: 10px 20px;
        font-size: 14px;
        height: 65px;
    }
    
    .wp-goto-register-text,
    .wp-goto-login-text {
        font-size: 14px;
    }
}

