﻿
:root {
    /* theme variables — change these to style the ghost button */
    --btn-pad-y: 0.5rem;
    --btn-pad-x: 1rem;
    --btn-radius: 10px;
    --btn-font: 16px;
    --btn-border-width: 1px;
    --primary: #0b74de; /* main color */
    --primary-contrast: #0b74de; /* color for icon or outline */
    --bg: transparent;
    --text: var(--primary);
    --hover-bg: rgba(11,116,222,0.06);
    --focus-ring: 0 0 0 4px rgba(11,116,222,0.12);
    --disabled-opacity: 0.45;
}

/* Base button */
.btn {
    background: linear-gradient(90deg, #00E5FF, #0099D6);
    color: #041D2E;
    border: none;
    box-shadow: 0 0 12px rgba(0,229,255,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    align-self: flex-start;
  /*  transition: background-color 0.2s ease, transform 0.2s ease;*/
    margin: 10px;
    animation: buttonAppear 2s ease forwards;
    z-index: 100;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), inset 0 -3px 5px rgba(0, 0, 0, 0.25), 0 8px 18px rgba(0, 0, 0, 0.35), 0 0 20px rgba(43, 138, 138, 0.5);
}
    .btn.btn--wide {
        width: 100%;
        padding: 14px 40px;
    }
/* Ghost variant */
.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: currentColor;

    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), inset 0 -3px 5px rgba(0, 0, 0, 0.25), 0 8px 18px rgba(0, 0, 0, 0.35), 0 0 20px rgba(43, 138, 138, 0.5);
}
.btn:hover {
    transform: scale(1.035) ;
}
    /* Hover / active */
.btn--ghost:hover {
    transform: scale(1.035);
}

    .btn--ghost:active {
        transform: translateY(0);
    }

    /* Focus (accessible) */
    .btn--ghost:focus {
        outline: none;
        box-shadow: var(--focus-ring);
    }

/* Disabled */
.btn[disabled],
.btn:disabled {
    opacity: var(--disabled-opacity);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Icon slot */
.btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05em;
}
.btn.btn-md {
    max-width: 150px;
    padding: 14px 40px;
}
    /* Sizes */
.btn.btn-lg {
    max-width: 250px;
    padding: 14px 40px;
}
.btn.btn-sm {
    max-width: 150px;
    padding: 5px 15px;
    font-size:0.90rem;
}


/* Outline subtle variant */
.btn--ghost.btn--subtle {
    color: rgba(0,0,0,0.75);
    border-color: rgba(0,0,0,0.12);
}
.btn.btn--light{
    color:#fff;
    border-color: rgba(0,0,0,0.12);
}
.btn.btn--dark {
    color: #000;
    border-color: rgba(0,0,0,0.12);
}
.btn--ghost.btn--danger {
    color: #c42b2b;
    border-color: currentColor;
    --hover-bg: rgba(196,43,43,0.06);
    --focus-ring: 0 0 0 4px rgba(196,43,43,0.12);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}
@media (max-width:600px) {
    .btn.btn-br {
        width:100%;
        max-width:100%;
    }
}

@media (max-width:280px) {
    .btn {
       white-space:wrap;
    }
}