/* PayPlugHub - shared site styles. Loaded on every public page. */

/* Toastr overrides (was inline in components/head.blade.php) */
#toast-container > div {
    background-color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 16px 20px !important;
    opacity: 1 !important;
    border: none !important;
    border-left: 4px solid !important;
}

.toast-success {
    border-left-color: #10b981 !important;
    background-color: #fff !important;
}

.toast-error {
    border-left-color: #ef4444 !important;
    background-color: #fff !important;
}

.toast-warning {
    border-left-color: #f59e0b !important;
    background-color: #fff !important;
}

.toast-info {
    border-left-color: #667eea !important;
    background-color: #fff !important;
}

.toast-success .toast-message,
.toast-error .toast-message,
.toast-warning .toast-message,
.toast-info .toast-message {
    color: #1a1a2e !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

.toast-close-button {
    color: #6b7280 !important;
    font-weight: 300 !important;
    font-size: 1.25rem !important;
    opacity: 0.7 !important;
    text-shadow: none !important;
}

.toast-close-button:hover {
    color: #1a1a2e !important;
    opacity: 1 !important;
}

.toast-progress {
    height: 3px !important;
    border-radius: 0 0 12px 12px !important;
    opacity: 0.8 !important;
}

.toast-success .toast-progress { background: #10b981 !important; }
.toast-error .toast-progress { background: #ef4444 !important; }
.toast-warning .toast-progress { background: #f59e0b !important; }
.toast-info .toast-progress { background: #667eea !important; }

/* Header / preloader / navigation (was inline in components/header.blade.php) */
.modern-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modern-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    gap: 8px;
}

.preloader-circle {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    animation: preloader-bounce 1.4s ease-in-out infinite both;
}

.preloader-circle:nth-child(1) { animation-delay: -0.32s; }
.preloader-circle:nth-child(2) { animation-delay: -0.16s; }
.preloader-circle:nth-child(3) { animation-delay: 0s; }

@keyframes preloader-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}


.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

body.dark .modern-header.scrolled {
    background: rgba(30, 30, 47, 0.95);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}


.header-logo img {
    height: 38px;
    transition: all 0.3s ease;
}

.modern-header.scrolled .header-logo img {
    height: 38px;
}


.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-modern {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.modern-header.scrolled .nav-link-modern {
    color: #1a1a2e;
}

body.dark .modern-header.scrolled .nav-link-modern {
    color: #fff;
}

.nav-link-modern:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.modern-header.scrolled .nav-link-modern:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}


.btn-header-login {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.modern-header.scrolled .btn-header-login {
    color: #667eea;
    border-color: #667eea;
}

.btn-header-login:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.modern-header.scrolled .btn-header-login:hover {
    background: rgba(102, 126, 234, 0.1);
}

.btn-header-signup {
    background: #fff;
    color: #667eea;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-header.scrolled .btn-header-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-header-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #764ba2;
}

.modern-header.scrolled .btn-header-signup:hover {
    color: #fff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-header-account {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-header-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}


.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.modern-header.scrolled .mobile-menu-toggle {
    background: rgba(102, 126, 234, 0.1);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.modern-header.scrolled .mobile-menu-toggle span {
    background: #667eea;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9998;
    padding: 100px 24px 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.mobile-menu-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-btn-login {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.mobile-btn-login:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.mobile-btn-signup {
    background: #fff;
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-btn-signup:hover {
    transform: scale(1.02);
    color: #764ba2;
}


@media (max-width: 1200px) {
    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .header-actions .btn-header-login,
    .header-actions .btn-header-signup {
        display: none;
    }
}


.modern-modal .modal-content {
    background: #fff;
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

body.dark .modern-modal .modal-content {
    background: #1e1e2f;
}

.modern-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 30px 30px 25px;
}

.modern-modal .modal-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
}

.modern-modal .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    opacity: 1;
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.modern-modal .btn-close::before,
.modern-modal .btn-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.modern-modal .btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modern-modal .btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modern-modal .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modern-modal .btn-close:focus {
    box-shadow: none;
    outline: none;
}

.modern-modal .modal-body {
    padding: 30px;
}

.modern-modal .form-label {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

body.dark .modern-modal .form-label {
    color: #fff;
}

.modern-modal .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

body.dark .modern-modal .form-control {
    background: #2d2d44;
    border-color: #3d3d5c;
    color: #fff;
}

.modern-modal .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #fff;
}

body.dark .modern-modal .form-control:focus {
    background: #1e1e2f;
}

.modern-modal .form-control::placeholder {
    color: #9ca3af;
}

.modern-modal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.modern-modal .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    margin-top: 2px;
}

.modern-modal .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.modern-modal .form-check-label {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

body.dark .modern-modal .form-check-label {
    color: #a1a1aa;
}

.modern-modal .form-check-label a {
    color: #667eea;
    font-weight: 600;
}

.modal-forgot-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-forgot-link:hover {
    color: #764ba2;
}

.text-error {
    color: #ef4444;
    font-size: 0.875rem;
}

/* Header / preloader / navigation (was inline in components/header.blade.php) */
.grecaptcha-badge { visibility: hidden !important; }

/* Footer (was inline in components/footer.blade.php) */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}


.footer-brand {
    max-width: 320px;
}

@media (max-width: 576px) {
    .footer-brand {
        max-width: 100%;
        margin: 0 auto;
    }
}

.footer-logo {
    height: 50px;
    margin-bottom: 24px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}


.footer-social {
    display: flex;
    gap: 12px;
}

@media (max-width: 576px) {
    .footer-social {
        justify-content: center;
    }
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-3px);
}


.footer-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

@media (max-width: 576px) {
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}


.footer-newsletter {
    max-width: 100%;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}


.footer-contact {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

@media (max-width: 576px) {
    .contact-item {
        justify-content: center;
    }
}

.contact-item i {
    color: #667eea;
    font-size: 1rem;
    width: 20px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff;
}


.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-copyright a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.footer-copyright a:hover {
    color: #f093fb;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: center;
    }
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}


.payment-methods-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

@media (max-width: 576px) {
    .payment-methods-footer {
        justify-content: center;
    }
}

.payment-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.payment-badge i {
    color: #667eea;
}

/* Error pages - ported from the removed theme style.css */
.error-area {
  height: 100vh;
}
.error-content {
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
}
.error-content h3 {
  font-size: 40px;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 15px;
}
.error-content p {
  max-width: 520px;
  margin: 0 auto 20px;
}
