/* style.css */





body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
}
a:hover {
    text-decoration: none; /* Remove underline on hover */
}
.container {
    max-width: 700px;
}


.bg-white {
    background-color: #ffffff;
}



.btn-primary {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #45a049;
}

.form-control {
    width: 100%;
    
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.text-gray-600 {
    color: #666;
}

.text-gray-800 {
    color: #333;
}

.rounded-lg {
    border-radius: 8px;
}

.shadow-lg {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

h1 {
    font-size: 35px;
    margin-bottom: 20px;
}

h3 {
    font-size: 18px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}






 
/* General Step Class */
.step {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    max-width: 100%; /* Ensure the step container does not overflow */
    box-sizing: border-box; /* Include padding and border in element's width and height */
    overflow: hidden; /* Prevent content overflow */
}

/* Step Title */
.step-title {
    font-size: 24px;
    margin-top: 15px;
}

/* Step Description */
.step-description {
    font-size: 16px;
    color: #666;
}

/* Button Container */
.button-container {
    text-align: center;
    margin-top: 20px;
}

/* Button Styling */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button:hover {
    background-color: #2980b9;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .step {
        padding: 15px;
        margin-bottom: 20px;
        max-width: 100%; /* Ensure the step container does not overflow */
        overflow-x: hidden; /* Prevent horizontal overflow */
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 14px;
    }
}



.bioResult {
    background-color: #ffffff;
   
    border-radius: 5px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
     transition: opacity 0.3s ease-in-out; /* Apply smooth transition */
     display: grid;
            gap: 20px;
}

/* Define the highlighting style */
.descriptionInput.error {
  border: 1px solid red; /* You can adjust the style as needed */
}


.error-message {
  color: red;
}



.full-width-container {
  width: 100%;
}

/* Add this style to your existing CSS or in a new style tag */
.input-group-text {
    cursor: pointer;
}

.input-group-text i {
    font-size: 1.2rem;
    color: #6B7280; /* Adjust the color as needed */
}



 .captionResult {
            display: grid;
            gap: 20px;
              background-color: #ffffff;
   
    border-radius: 5px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
     transition: opacity 0.3s ease-in-out; /* Apply smooth transition */
        }

        .loading-spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-top: 4px solid #3498db;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
            display: none;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        
      /* Add this style to your existing CSS or in a new style tag */
.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}





#resetCaption {
    background-color: black; /* Set the background color to black */
    color: #fff; /* Set text color to white */
}


.generated-bio {
    position: relative; /* Ensure positioning context for absolute positioning */
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px; /* Add margin between each generated caption */
    padding: 10px; /* Add padding for better visibility */
    border: 1px solid #ccc; /* Add border for better separation */
}

.generated-caption {
    position: relative; /* Ensure positioning context for absolute positioning */
      align-items: center;
    justify-content: space-between;
    margin-bottom: 10px; /* Add margin between each generated caption */
    padding: 10px; /* Add padding for better visibility */
    border: 1px solid #ccc; /* Add border for better separation */
}

.copy-icon {
    position: absolute;
    right: 0;
    cursor: pointer;
    padding: 0 5px; /* Add padding to the icon for spacing */
}

@media (max-width: 768px) {
    .copy-icon {
        padding: 0 3px; /* Adjust padding for smaller screens */
        font-size: 20px; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 576px) {
    .copy-icon {
        padding: 0 2px; /* Further adjust padding for even smaller screens */
        font-size: 18px; /* Further adjust font size for even smaller screens */
    }
}

/* Additional custom styles can be added here */
  .caption-card {
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }
  .caption-card:hover {
    transform: translateY(-4px);
  }
  .btn-upvote,
  .btn-downvote {
    transition: all 0.3s ease-in-out;
  }
  .btn-upvote:hover,
  .btn-downvote:hover {
    transform: scale(1.05);
  }
 
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    
  }
  .md\:text-right {
    text-align: right; /* Align text to the right */
  }
  
    /* Custom Styles */
        .caption-icon {
            font-size: 5rem;
        }
        /* Additional styles for enhanced UX */
        .cta-btn {
            transition: background-color 0.3s ease;
        }
        .cta-btn:hover {
            background-color: #2563eb;
        }
        /* Star rating styles */
        .rating {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .rating input[type="radio"] {
            display: none;
        }
        .rating label {
            cursor: pointer;
            font-size: 2rem;
            color: #718096;
        }
        .rating input[type="radio"]:checked ~ label {
            color: #f6ad55;
        }
        .rating label:hover,
        .rating label:hover ~ label {
            color: #f6ad55;
        }
        
         .how-card {
    border-radius: 16px;
    background-color: white;
    max-width:1200px;
        padding: 20px;
   
  }
    

        .styled-list li {
            margin-bottom: 10px;
            line-height: 1.5;
            position: relative;
            list-style: none;
        }

        .styled-list li::before {
            content: '⚫';
            position: absolute;
            left: -1rem;
            color: #4299e1; /* Adjust to desired color */
        }

.share-icon {
    cursor: pointer;
    margin-right: 5px;
    color: #007bff; /* Change color as needed */
}

.share-icon:hover {
    color: #0056b3; /* Change color for hover effect */
}

/* If you want to style the icon itself */
.share-icon i {
    font-size: 18px; /* Adjust size as needed */
}


.generated-caption {
    position: relative; /* Ensure positioning context for absolute positioning */
      align-items: center;
    justify-content: space-between;
    margin-bottom: 10px; /* Add margin between each generated caption */
    padding: 10px; /* Add padding for better visibility */
    border: 1px solid #ccc; /* Add border for better separation */
}

.copy-icon {
    position: absolute;
    right: 0;
    cursor: pointer;
    padding: 0 5px; /* Add padding to the icon for spacing */
}



@media (max-width: 768px) {
    .copy-icon {
        padding: 0 3px; /* Adjust padding for smaller screens */
        font-size: 20px; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 576px) {
    .copy-icon {
        padding: 0 2px; /* Further adjust padding for even smaller screens */
        font-size: 18px; /* Further adjust font size for even smaller screens */
    }
}

  #imagePreview {
            max-width: 100%;
            height: 200px;
            display: none;
        }


/* Navbar styles */
    .navbar {
       
        display: flex;
        justify-content: center;
        align-items: center;
      
        padding: 10px 0;
      
        overflow-x: auto; /* Enable horizontal scrolling on small screens */
    }

    .navbar a {
        text-decoration: none;
        color: #333;
        transition: color 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 20px;
        padding: 7px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        background-color: #ffffff;
        overflow: hidden;
        position: relative;
    }

    .navbar a:hover {
        color: #ef4444;
    }

    .icon {
        font-size: 36px;
        margin-bottom: 10px;
        transition: transform 0.3s ease;
    }

    .description {
        font-size: 16px;
        margin-top: 5px;
        text-align: center;
        transition: opacity 0.3s ease;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 5px 10px;
        border-radius: 5px;
    }

    .navbar a:hover .icon {
        transform: translateY(-5px);
    }

    .navbar a:hover .description {
        opacity: 1;
    }

    /* Responsive styles */
    @media screen and (max-width: 768px) {
        .navbar {
            flex-wrap: wrap; /* Allow items to wrap to the next line */
            justify-content: flex-start; /* Align items to the start */
            padding: 15px; /* Adjust padding */
        }

        .navbar a {
            margin: 10px 15px; /* Adjust margin */
        }
    }
   .to-red-500 {
                background: linear-gradient(to right, var(--tw-gradient-from), #ef4444);
            }
           .p1 {
    
    font-size: 28px; /* Adjust the font size as per your preference */
    margin-top: 20px; /* Add margin top as needed */
    text-align: center; /* Center align the text */
}




.feedback{
    

margin-top:10px;
max-width:1200px;
width:100%;
background-color:white;
padding:20px;
border-radius:10px;




}


 /* Additional custom styles can be added here */
  .caption-card {
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }
  .caption-card:hover {
    transform: translateY(-4px);
  }
  .btn-upvote,
  .btn-downvote {
    transition: all 0.3s ease-in-out;
  }
  .btn-upvote:hover,
  .btn-downvote:hover {
    transform: scale(1.05);
  }
 
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    
  }
  .md\:text-right {
    text-align: right; /* Align text to the right */
  }
