/* Slide-in animation for content */
.slide-in {
    animation: slideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Custom tweaks on top of Bootstrap */

/* Keep header titles consistent */
header h1 {
    font-size: 1.8rem;
    margin: 0;
}

/* Ensure active nav link stands out */
.nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid #0d6efd;
}

/* Footer always at the bottom when content is short */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

/* Dark mode helper (optional toggle in app.js) */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}
body.dark-mode .navbar,
body.dark-mode footer {
    background-color: #1f1f1f !important;
}

.bg-navy {
    background-color: navy !important;
}

.bg-magenta {
    background-color: magenta !important;
}

.bg-orange {
    background-color: orange !important;
}

/* Example usage */
.color-tmobile-magenta {
  color: #E20074;       /* primary magenta */
  /* or optionally */
  /* color: #ED008C; */
}

.bg-tmobile-magenta {
  background-color: #E20074;
}


/* start login page  */

body {
        font-family: Arial, sans-serif;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0;
    }

    header, footer {
        background-color: #2c3e50;
        color: white;
        padding: 10px 20px;
    }

    header nav a, footer a {
        color: white;
        margin-right: 15px;
        text-decoration: none;
    }

    main {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #ecf0f1;
        padding: 20px;
    }

    .login-container {
        background-color: white;
        padding: 40px;
        border-radius: 8px;
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        width: 100%;
        max-width: 400px;
    }

    .login-container h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    .login-container label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .login-container input {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #bdc3c7;
        border-radius: 4px;
    }

    .login-container button {
        width: 100%;
        padding: 10px;
        background-color: #3498db;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 16px;
        cursor: pointer;
    }

    .login-container button:hover {
        background-color: #2980b9;
    }

    .login-container .links {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
    }

    .error {
        color: red;
        margin-bottom: 15px;
        text-align: center;
    }

    .success {
        color: green;
        margin-bottom: 15px;
        text-align: center;
    }

/* end login page  */




/************* Hover-copy styling ************/
input[readonly][data-hover-copy],
textarea[readonly][data-hover-copy] {
  cursor: pointer;
  pointer-events: auto;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}

/* Copy button animation */
.copy-btn.copied {
  animation: copiedPop 0.4s ease-in-out;
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.6);
  transform: scale(1.1);
}

@keyframes copiedPop {
  0% { opacity: 0; transform: scale(0.8); box-shadow: 0 0 0 rgba(40, 167, 69, 0); }
  60% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 10px rgba(40, 167, 69, 0.6); }
  100% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 8px rgba(40, 167, 69, 0.4); }
}

/* Tooltip styling */
.copy-tooltip {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  animation: tooltipFade 1.2s ease-in-out forwards;
  z-index: 1000;
}

.copy-tooltip::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #28a745 transparent transparent transparent;
}

@keyframes tooltipFade {
  0% { opacity: 0; transform: translate(-50%, -5px); }
  20% { opacity: 1; transform: translate(-50%, 0); }
  80% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -5px); }
}


input[data-hover-copy], textarea[data-hover-copy] {
  transition: background-color 0.3s ease;
}


/* pagination styles  */

.pagination .page-link {
  border-radius: 0.5rem;
  margin: 0 3px;
  transition: all 0.2s;
}

.pagination .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

.pagination .page-item .page-link:hover {
  background-color: #e9ecef;
}











