/* ==========================================================
   PrimeTrade
   Professional Cryptocurrency Investment Platform
   File: global.css
========================================================== */

/* ==========================================================
   GOOGLE FONTS
========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================================================
   VARIABLES
========================================================== */

:root {
  --primary: #c8a14a;
  --primary-dark: #a88434;

  --background: #faf8f5;
  --surface: #ffffff;

  --text: #1a1a1a;
  --text-light: #707070;

  --border: #ececec;

  --success: #27ae60;
  --danger: #e74c3c;
  --warning: #f39c12;

  --shadow: 0 15px 45px rgba(0, 0, 0, 0.06);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --transition: 0.35s ease;

  --container: 1400px;
}

/* ==========================================================
   HTML
========================================================== */

html {
  scroll-behavior: smooth;
}

/* ==========================================================
   BODY
========================================================== */

body {
  font-family: "Inter", sans-serif;

  background: var(--background);

  color: var(--text);

  overflow-x: hidden;

  line-height: 1.7;
}

/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;

  font-weight: 700;

  color: var(--text);
}

p {
  color: var(--text-light);
}

/* ==========================================================
   LINKS
========================================================== */

a {
  text-decoration: none;

  color: inherit;

  transition: var(--transition);
}

/* ==========================================================
   LIST
========================================================== */

ul {
  list-style: none;
}

/* ==========================================================
   IMAGE
========================================================== */

img {
  max-width: 100%;

  display: block;
}

/* ==========================================================
   CONTAINER
========================================================== */

.pt-container {
  width: 92%;

  max-width: var(--container);

  margin: auto;
}

/* ==========================================================
   SECTION
========================================================== */

.pt-section {
  padding: 120px 0;
}

/* ==========================================================
   BUTTON
========================================================== */

.pt-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 16px 34px;

  border: none;

  border-radius: 14px;

  cursor: pointer;

  font-family: "Poppins", sans-serif;

  font-size: 15px;

  font-weight: 600;

  transition: var(--transition);
}

.pt-btn-primary {
  background: var(--primary);

  color: #fff;
}

.pt-btn-primary:hover {
  background: var(--primary-dark);

  transform: translateY(-3px);
}

.pt-btn-outline {
  background: #fff;

  border: 2px solid var(--primary);

  color: var(--primary);
}

.pt-btn-outline:hover {
  background: var(--primary);

  color: #fff;
}

/* ==========================================================
   CARD
========================================================== */

.pt-card {
  background: var(--surface);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);

  padding: 30px;

  transition: 0.35s;
}

.pt-card:hover {
  transform: translateY(-8px);
}

/* ==========================================================
   INPUT
========================================================== */

.pt-input {
  width: 100%;

  padding: 16px;

  border: 1px solid var(--border);

  border-radius: 14px;

  outline: none;

  font-size: 15px;

  transition: var(--transition);
}

.pt-input:focus {
  border-color: var(--primary);
}

/* ==========================================================
   BADGE
========================================================== */

.pt-badge {
  display: inline-block;

  padding: 8px 18px;

  border-radius: 50px;

  background: #fff7e4;

  color: var(--primary);

  font-weight: 600;

  font-size: 14px;
}

/* ==========================================================
   GRID
========================================================== */

.pt-grid {
  display: grid;

  gap: 30px;
}

/* ==========================================================
   FLEX
========================================================== */

.pt-flex {
  display: flex;

  align-items: center;
}

/* ==========================================================
   TEXT
========================================================== */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* ==========================================================
   MARGIN
========================================================== */

.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}
.mt-5 {
  margin-top: 50px;
}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);

  border-radius: 50px;
}

/* ==========================================================
   SELECTION
========================================================== */

::selection {
  background: var(--primary);

  color: #fff;
}

/* ==========================================================
   ANIMATION
========================================================== */

.fade-up {
  opacity: 0;

  transform: translateY(40px);

  transition: 0.8s ease;
}

.fade-up.show {
  opacity: 1;

  transform: translateY(0);
}

/* ==========================================================
   KEYFRAMES
========================================================== */

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

.float {
  animation: float 4s ease-in-out infinite;
}
/* ==========================================================
   IOS INPUT ZOOM FIX
========================================================== */

input,
textarea,
select{

    font-size:16px;

}


/*==========================================================
TOAST NOTIFICATION
==========================================================*/

#toast-container{

    position:fixed;

    top:25px;

    right:25px;

    display:flex;

    flex-direction:column;

    gap:12px;

    z-index:999999;

    pointer-events:none;

}

.toast{

    min-width:320px;

    max-width:420px;

    padding:16px 22px;

    border-radius:14px;

    color:#fff;

    font-weight:600;

    font-size:15px;

    box-shadow:0 15px 40px rgba(0,0,0,.18);

    opacity:0;

    transform:translateX(120%);

    transition:.35s ease;

    pointer-events:auto;

}

.toast.show{

    opacity:1;

    transform:translateX(0);

}

.toast.success{

    background:#16a34a;

}

.toast.error{

    background:#dc2626;

}

.toast.warning{

    background:#f59e0b;

}

.toast.info{

    background:#1e3a8a;

}


/*==========================================================
LOADER
==========================================================*/

.loader{

    position:fixed;

    inset:0;

    background:#0d1526;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:999999;

    transition:.5s ease;

}

.loader.hide{

    opacity:0;

    visibility:hidden;

}

.loader-box{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:20px;

}

.loader-logo{

    font-family:"Poppins",sans-serif;

    font-size:42px;

    font-weight:800;

    color:#fff;

}

.loader-logo span{

    color:#c8a14a;

}

.loader-spinner{

    width:60px;

    height:60px;

    border:4px solid rgba(255,255,255,.12);

    border-top:4px solid #c8a14a;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

.loader p{

    color:#cbd5e1;

    font-size:15px;

    letter-spacing:1px;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

@media(max-width:768px){

.loader-logo{

    font-size:32px;

}

.loader-spinner{

    width:50px;

    height:50px;

}

}


/*==========================================================
WHATSAPP FLOATING BUTTON
==========================================================*/


/*==========================================================
GLOBAL BUTTON RESPONSIVE
==========================================================*/

@media (max-width:768px){

    .pt-btn{

        width:100%;

        min-height:54px;

        padding:16px 22px;

        font-size:15px;

        border-radius:14px;

        justify-content:center;

    }

    .pt-btn-primary,
    .pt-btn-outline{

        width:100%;

    }

    .hero-buttons,
    .cta-buttons,
    .auth-buttons,
    .form-buttons,
    .button-group{

        display:flex;

        flex-direction:column;

        gap:14px;

        width:100%;

    }

}

@media (max-width:480px){

    .pt-btn{

        min-height:52px;

        padding:15px 18px;

        font-size:14px;

        border-radius:12px;

    }

}

.whatsapp-btn{

    position:fixed;

    right:13px;

    bottom:100px; /* Above Smartsupp */

    width:60px;

    height:60px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    font-size:30px;

    z-index:9998;

    box-shadow:0 15px 35px rgba(37,211,102,.35);

    transition:.35s ease;

    animation:whatsappPulse 2s infinite;

}

.whatsapp-btn:hover{

    transform:translateY(-5px) scale(1.08);

    box-shadow:0 20px 45px rgba(37,211,102,.45);

}

@keyframes whatsappPulse{

    0%{

        box-shadow:0 0 0 0 rgba(37,211,102,.45);

    }

    70%{

        box-shadow:0 0 0 18px rgba(37,211,102,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(37,211,102,0);

    }

}

@media(max-width:768px){

    .whatsapp-btn{

        width:56px;

        height:56px;

        right:13px;

        bottom:90px;

        font-size:28px;

    }

}


/*==========================================================
FORCE MOBILE CONFIRM BUTTONS
==========================================================*/

@media screen and (max-width:768px){

    .confirm-buttons{

        display:flex !important;
        flex-direction:column !important;
        width:100% !important;
        gap:12px !important;

    }

    .confirm-buttons button{

        width:100% !important;
        flex:none !important;
        display:block !important;
        height:54px !important;

    }

}