/* style.css */

/* welcome screen styling */
/* Make sure the page covers the full screen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Full-screen black overlay */
.intro-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: white;  /* Change background color to white */
    color: black;  /* Change text color to black for contrast */
    background-image: url('hands.png');
    background-size: cover;  /* Keep the image covering the entire screen */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
}

button {
    margin: 8px; /* Adjust this value as needed */
}


/* Content inside the intro screen */
.intro-content {
    text-align: center; /* Ensure content inside intro-content is centered */
    max-width: 90%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center everything horizontally */
    justify-content: center; /* Center content vertically */
}

/* Text box for title and subtitle */
.text-box {
    background-color: rgb(255, 255, 255, 0.8); /* Semi-transparent background behind text */
    border-radius: 25px; /* Rounded corners */
    padding: 20px; /* Padding inside the text box */
    margin-bottom: 20px; /* Spacing between the box and the button */
    display: inline-block; /* Ensure text box wraps around the content */
    text-align: center; /* Center text inside the box */
    max-width: 100%; /* Allow text box to scale with screen size */
    width: 100%; /* Make the box take full width */
}

/* Button styling */
#startButton {
    padding: 15px 40px;
    font-size: 1.2rem;
    background-color: black;
    color: white;
    border: 2px solid black;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px; /* Space between the button and text box */
}

/* Button hover effect */
#startButton:hover {
    background-color: gray;
    color: white;
    border-color: gray;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .text-box {
        width: 90%; /* Allow more space for text on smaller screens */
        padding: 15px;
    }

    #startButton {
        width: 80%; /* Make button take up more space on smaller screens */
        padding: 12px 30px;
    }
}



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-image: url('pixels.png');
    background-color: rgba(0,0,0);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; 
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-image: url('./pixels.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

textarea {
    width: calc(100% - 22px);
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}
.results-console {
    width: 60%;
    margin: 20px auto;
    background-color: black;
    color: black;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Courier New', monospace;
    min-height: 70vh;
    overflow-y: auto;
  }
  
  .console-output {
    background-color: black;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    white-space: pre-wrap;
    min-height: 100px;
  }
  
  .console-section {
    margin-bottom: 20px;
    padding-top: 10px;
    border-top: 1px solid black;
  }
  .history-section{
    color: white;
  }
  #historyList {
    list-style-type: none;
    padding-left: 0;
  }
  
  #historyList li {
    color: white;
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 4px;
    background-color: black;
  }
  
  /* For the chart to display properly */
  #probability {
    background-color: black;
    padding: 10px;
    border-radius: 5px;
  }
  
  #probabilityChart {
    width: 400px !important; /* Set a fixed width */
    height: 300px !important;
  }

button {
    flex: 1;
    padding: 14px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3e8e41;
}

#result {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: rgba(249, 249, 249, 0.85);
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.result-safe {
    background-color: rgba(232, 245, 233, 0.9);
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.result-warning {
    background-color: rgba(255, 243, 224, 0.9);
    border: 1px solid #ffca28;
    color: #ef6c00;
}

.result-danger {
    background-color: rgba(255, 235, 238, 0.9);
    border: 1px solid #e57373;
    color: #d32f2f;
}

#queryHistory {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#historyList {
    list-style-type: none;
    padding: 0;
}

#historyList li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

#historyList li:last-child {
    border-bottom: none;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    z-index: 1000; /* Ensure it's on top of other elements */
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 1); /* Opaque white on hover */
}
.floating-box {
    position: fixed;
    top: 50%;
    left: 20px; /* Adjust left position as needed */
    transform: translateY(-50%); /* Center vertically */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999; /* Ensure it's on top of other content */
    text-align: center;
    transition: transform 0.3s ease;
}

.floating-box:hover {
    transform: translateY(-55%); /* Slight upward movement on hover */
}

.floating-logo {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}


.fancy-scam {
    background: linear-gradient(135deg, #64b5f6, #42a5f5); /* Gradient background */
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Subtle text shadow */
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.fancy-scam:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.fancy-icon {
    font-size: 4em;
    margin-bottom: 15px;
    color: #e1f5fe; /* Lighter icon color */
}

.fancy-heading {
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.fancy-text {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.check-button {
    background-color: #e1f5fe; /* Light button background */
    color: #42a5f5; /* Button text color */
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.check-button:hover {
    background-color: #bbdefb; /* Slightly darker button background on hover */
    transform: scale(1.05); /* Slight scale on hover */
}
/* ... rest of your CSS ... */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: rgba(250,250,250,1);
  }
  
  .page-container {
    width: 100%;
    min-height: 100vh;
  }
  
  .content-section {
    width: 100%;
    padding: 96px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content {
    text-align: center;
    max-width: 896px;
    margin-bottom: 48px;
  }
  
  .hero-title {
    color: rgba(0,0,0,1);
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 24px;
  }
  
  .hero-subtitle {
    color: rgba(82,82,82,1);
    font-size: 20px;
    font-weight: 400;
  }
  
  .input-container {
    width: 100%;
    max-width: 768px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 48px;
  }
  
  .input-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
  }
  
  .text-input {
    flex: 1;
    height: 128px;
    border-radius: 8px;
    border: 1px solid rgba(229, 231, 235, 1);
    padding: 16px;
    font-size: 16px;
    color: rgba(73,74,88,1);
    resize: none;
  }
  
  .text-input::placeholder {
    color: rgba(173,174,188,1);
  }
  
  .generate-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    height: 48px;
    width: 48px;
    background: rgba(23,23,23,1);
    border-radius: 8px;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
  }
  
  .prompt-section {
    width: 100%;
  }
  
  .prompt-label {
    color: rgba(82,82,82,1);
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .prompt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .prompt-chip {
    background: rgba(245,245,245,1);
    border-radius: 9999px;
    padding: 10px 16px;
    font-size: 16px;
    color: rgba(64,64,64,1);
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .hero-title {
       font-size: 40px;
    }
    
    .text-input {
       padding-right: 72px;
    }
  }