/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #252323; /* Light background for better readability */
}

/* Container for centering content */
.container {
    max-width: 360px;
    margin: 30px auto; /* Center the login form vertically and horizontally */
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    border-radius: 10px;
    text-align: center;
}

/* Styling for the form heading */
.container h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

/* Form label styling */
.container label {
    font-weight: bold;
    font-size: 1em;
    color: #333;
    display: block;
    margin-bottom: 10px;
    text-align: left;
}

/* Input field styling */
.container input[type="email"],
.container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

/* Submit button styling */
.container input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #d33797;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

/* Submit button hover effect */
.container input[type="submit"]:hover {
    background-color: #df47a0;
}

/* grid container */

.grid {
    display: grid;
    max-width: 360px;
    margin: 30px auto; 
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    border-radius: 10px;
    text-align: center;
}

.click {
    max-width: 90%;
    margin: 20px auto; 
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    border-radius: 10px;
    text-align: center;
    
}

.click a {
    text-decoration: none;
    color: #d33797 ;
}

/* Font Awesome 4.7.0 */
.fa {
    color: #d33797; /* font awesome colour */
}

/* Navbar styling */
.navbar {
    background-color: #242323;
    padding: 10px 0;
    text-align: center;
}

.navbar a {
    display: inline-block;
    color: #f2f2f2;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
}

.navbar a:hover {
    background-color: #4d4b4b;
    color: rgb(207, 206, 206);
}

.show {
    display: inline-block;
}

/* Toast Notification Styling */
.toast {
    visibility: hidden; /* Hidden by default */
    min-width: 250px; /* Minimum width for better visibility */
    background-color: #333; /* Dark background */
    color: #fff; /* White text color */
    text-align: center;
    padding: 16px;
    position: fixed; /* Position at the top */
    z-index: 1;
    left: 50%;
    bottom: 30px; /* Position it 30px from the bottom */
    transform: translateX(-50%); /* Center horizontally */
    border-radius: 5px;
    font-size: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: visibility 0s, opacity 0.5s ease-out; /* Smooth fade-in/out */
    opacity: 0; /* Initially hidden */
}

.toast.show {
    visibility: visible; /* Show when triggered */
    opacity: 1; /* Fully visible */
}

/* Toast Success Style */
.toast.success {
    background-color: #28a745; /* Green background for success */
}

/* Toast Error Style */
.toast.error {
    background-color: #dc3545; /* Red background for error */
}


/* Tags input container */
.tags-input-container {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: text;
    background-color: white;
}

/* Each tag styling */
.tag {
    background-color: #28a745;
    color: white;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    font-size: 0.9em;
}

/* Close (X) button on each tag */
.tag .close {
    background: none;
    border: none;
    color: white;
    font-size: 1em;
    cursor: pointer;
    margin-left: 8px;
    display: inline-block;
}

/* Input for typing tags */
#tag-input {
    border: none;
    flex: 1;
    outline: none;
    padding: 5px;
    font-size: 0.9em;
}


/* Responsive styles */
@media (max-width: 600px) {
    .container {
        width: 90%;
        margin: 50px auto;
        padding: 20px;
    }

    .navbar a {
        display: block;
        width: 100%;
        text-align: center;
    }
}
