/**
 * 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;
    }
}

/* ===============================================
   РЕЖИМ RENT - Одна большая кнопка "Check Price"
   =============================================== */

/* Контейнер для режима rent */
.wp-goto-rent-mode {
    max-width: 600px;
    padding: 2rem;
}

/* Обертка кнопки rent */
.wp-goto-rent-button {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
}

/* Стили кнопки "Check Price" (темно-зеленая) */
.wp-goto-rent-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: #006400; /* Темно-зеленый (Dark Green) */
    border-radius: 12px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    min-height: 90px;
    box-shadow: 0 6px 20px rgba(0, 100, 0, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    width: 100%;
}

.wp-goto-rent-link:hover {
    background: #004d00; /* Еще темнее при наведении */
    box-shadow: 0 8px 24px rgba(0, 100, 0, 0.6);
    transform: translateY(-2px) scale(1.02);
    text-decoration: none !important;
}

.wp-goto-rent-link:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 16px rgba(0, 100, 0, 0.5);
}

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

/* Мобильная версия для режима rent */
@media (max-width: 768px) {
    .wp-goto-rent-mode {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }
    
    .wp-goto-rent-link {
        padding: 18px 35px;
        font-size: 18px;
        min-height: 80px;
    }
    
    .wp-goto-rent-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .wp-goto-rent-mode {
        padding: 1rem 0.5rem;
        max-width: 100%;
    }
    
    .wp-goto-rent-link {
        padding: 15px 30px;
        font-size: 16px;
        min-height: 70px;
    }
    
    .wp-goto-rent-text {
        font-size: 16px;
    }
}

