@tailwind base;
@tailwind components;
@tailwind utilities;

/* Background styles */
body {
      background-color: #1B1D24; /* Using the provided dark background color */
      background-image: 
      radial-gradient(at 47% 33%, hsla(180, 75%, 56%, 0.3) 0, transparent 59%), /* Turquoise influence */
      radial-gradient(at 82% 65%, hsla(240, 100%, 50%, 0.2) 0, transparent 55%); /* Blue influence */
    color: #FFFFFFF0; /* Slightly transparent white text color */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    margin-top: 20px;
    color: #B4289C; /* Accent color for the headline */
}

/* Container for the call detail cards */
#data-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

/* Glassmorphism card effect */
.card {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(17, 25, 40, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    padding: 20px;
    box-sizing: border-box;
    color: #FFFFFFF0; /* Slightly transparent white text color */
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card h2 {
    margin-top: 0;
    color: #B4289C; /* Accent color for the card title */
}

.card p {
    margin: 10px 0;
}

/* Copy button styles */
.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #B4289C;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.copy-button:hover {
    color: #FFFFFF;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    #data-container {
        grid-template-columns: 1fr; /* Single column layout on mobile */
    }
}

.button-container {
    position: relative;
    min-height: 70px;
}

.vapi-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -80px;
}

@media (max-width: 768px) {
    .button-container {
        min-height: 90px;
    }

    .vapi-button {
        top: 100px;
    }
}
