/* styles.css */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial Black', sans-serif; /* Apply Calibri as the font */
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Keyframes for zoom and float effect */
@keyframes zoomAndFloatContainer {
    0% {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) translateY(-10px);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Animation class */
.animate-content {
    animation: zoomFloat 1s ease-out;
}


/* Ensure the content container has a centered and responsive layout
.generator-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 450px;
    background-color: #ffffff; /* Solid white background */
    /*border-radius: 20px;
   /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 25px;
    margin: auto; /* Center horizontally */
	/*animation: zoomAndFloatContainer 1.5s ease-out forwards;
    opacity: 0; /* Start hidden */
    /*transform-origin: center center; /* Ensures zooming from the center */
/*}

/* Ensure the content container has a centered and responsive layout */
.generator-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 650px;
    background-color: #ffffff; /* Solid white background */
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 25px;
    margin: auto; /* Center horizontally */
    animation: zoomAndFloatContainer 1.5s ease-out forwards;
    opacity: 0; /* Start hidden */
    transform-origin: center center; /* Ensures zooming from the center */
    
    /* Add these two new properties */
    transform: scale(1.2);  /* Scales up the container */
    transition: transform 0.3s ease-in-out;  /* Smooth transition for resizing */
}


/* Apply animation to the content container */
.content-container {
    position: relative;
    overflow: hidden;
}

.generator-logo {
    width: 150px; /* Set a width for the logo */
    height: 150px; /* Ensure it's a square */
    border-radius: 15px; /* Rounded corners */
    border: 4px solid green; /* Green border */
    box-shadow: 0 0 15px green; /* Glowing effect */
    display: block; /* Ensure the logo is treated as a block element */
    margin: 0 auto; /* Center the logo within the container */
	margin-top: 20px
}

.generator-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

/* Status Container */
.status-container {
	display: flex;
	flex-wrap: wrap; /* Allow items to wrap on smaller screens */
	background-color: #f4f4f4;
	justify-content: space-between; /* Ensure items are spaced evenly */
	padding: 15px;
	border-radius: 10px;
	margin: 20px; /* Equal margin on all sides */
	width: calc(100% - 40px); /* Adjust the width to leave space for margins */
	box-sizing: border-box; /* Ensure padding is included in the width */
}

/* Status Item */
.status-item {
	flex: 1 1 calc(33.33% - 20px); /* Each item takes up 1/3 of the width and shrinks if needed */
	background-color: #f4f4f4;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 10px;
	font-size: 14px;
	color: #333;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 10px;
	box-sizing: border-box; /* Ensure padding doesn't affect width */
	min-height: 80px; /* Ensure all status items have the same minimum height */
}

/* Ensure the layout is responsive on smaller screens */
@media (max-width: 768px) {
	.status-item {
		flex: 1 1 calc(50% - 20px); /* Each item takes 50% of the width on medium screens */
		margin: 10px 5px; /* Adjust margin for smaller screens */
	}
}

@media (max-width: 480px) {
	.status-item {
		flex: 1 1 100%; /* Full width on small screens */
		margin: 10px 0; /* Adjust margin for small screens */
	}
}

/* Status Label */
.status-label {
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 5px;
	color: #007bff;
}

/* Status Value */
.status-value {
	font-weight: bold;
	font-size: 16px;
	display: block;
	margin-top: auto; /* Pushes the value to the bottom within the container */
	margin-bottom: 0; /* Removes any bottom margin */
	padding: 5px 10px;
	border-radius: 5px;
	text-align: center;
	width: 100%; /* Make sure it takes the full width of the container */
	line-height: 20px; /* Ensure consistent vertical alignment */
	min-height: 30px; /* Ensure all status values have the same minimum height */
}

/* Specific Styles for Each Status */
#status {
	background-color: #e6ffe6;
	border-color: #4CAF50;
	color: #2d6a2d;
	line-height: 20px; /* Ensures alignment with other values */
	min-height: 30px; /* Matches height with other values */
	margin-bottom: 0; /* Ensure no bottom margin difference */
}

#active-users {
	background-color: #B4DBE3;
	border-color: #48575a;
	color: #364144;
	line-height: 20px; /* Ensures alignment with other values */
	min-height: 30px; /* Matches height with other values */
	margin-bottom: 0; /* Ensure no bottom margin difference */
}

#last-updated {
	background-color: #e6e6ff;
	border-color: #3f51b5;
	color: #2c387e;
	line-height: 20px; /* Ensures alignment with other values */
	min-height: 30px; /* Matches height with other values */
	margin-bottom: 0; /* Ensure no bottom margin difference */
}

/* Icons */
.status-icon {
	margin-right: 8px;
	font-size: 20px;
}

	/* Remove margin from the last item */
	/*.status-item:last-child {
	/*	margin-right: 0;
	}

/* Start Process Button */
.start-process-btn {
    display: inline-block;
    background-color: #28a745; /* Green background color */
    color: white; /* Text color */
    padding: 18px 30px; /* Padding around the text */
    font-size: 18px; /* Font size */
    font-weight: bold; /* Bold text */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    text-align: center; /* Center align text */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth background color transition */
	margin-bottom: 20px;
}

/* Button Hover Effect */
.start-process-btn:hover {
    background-color: #218838; /* Darker green for hover effect */
}

/* Ensure proper spacing from directional message */
.directional-message {
    font-weight: bold;
    font-size: 18px;
	margin-top: 35px;
    margin-bottom: 40px; /* Space below the message */
    color: #333;
    text-align: center;
}

.popup {
    width: 200px; /* Set a fixed width */
    height: 150px; /* Set a fixed height */
	display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: floatIn 0.5s ease-out forwards;
	opacity: 0;
    transition: opacity 1s ease-in-out;
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-gif {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.popup-message {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

#popup2 img {
    width: 50%;
    height: auto; /* Maintain aspect ratio */
}

#popup4 img {
    width: 50%;
    height: auto; /* Maintain aspect ratio */
}

#popup6 img {
    width: 50%;
    height: auto; /* Maintain aspect ratio */
}

#popup8 img {
    width: 50%; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    margin-left: -10px; /* Move the image slightly to the left */
}

#popup8 .popup-message {
    color: #f8874c; /* Set text color to sky blue */
}

@keyframes floatIn {
    from {
        transform: translate(-50%, -60%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes floatOut {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -40%) scale(0.8);
        opacity: 0;
    }
}

/* Add this to your CSS file - TEXT AND BUTTON DISAPPEARING TO LEFT AFTER SECOND POP UP DISAPPEARS */

.slide-out-left {
    animation: slideOutLeft 1s forwards; /* 1s duration for the sliding effect */
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}


/* NEW ELEMENTS APPEARING STYLE AFTER THE TEXT AND BUTTON DISAPPEARS FROM GENERATOR */

/* Username Section */
.username-container {
    text-align: center;
    margin-top: 20px;
}

.username-label {
    font-weight: bold;
    margin-bottom: 10px;
}

.username-input {
    padding: 15px;
    width: 80%;
    max-width: 300px;
    border: 2px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

/* Device Selection Section */
.device-selection {
    text-align: center;
    margin-top: 20px;
}

.device-label {
    font-weight: bold;
    margin-bottom: 10px;
}

.device-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.device-option {
    padding: 12px 24px;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.device-option:hover {
    background-color: #f0f0f0;
}

/* General styling for selected devices */
.device-option.selected {
    background-color: #7cc0ce;
    color: #fff; /* Adjust this if needed for better contrast */
}


/* Link Selection Section */
.link-selection {
    text-align: center;
    margin-top: 20px;
}

.link-label {
    font-weight: bold;
    margin-bottom: 10px;
}

.link-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.link-option {
    padding: 12px 24px;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.link-option:hover {
    background-color: #f0f0f0;
}

/* General styling for selected links */
.link-option.selected {
    background-color: #7cc0ce;
    color: #fff; /* Adjust this if needed for better contrast */
}


/* Style the disabled button */
button:disabled {
    background-color: #ccc; /* Light gray background to indicate disabled state */
    color: #666; /* Gray text */
    cursor: not-allowed; /* Show a 'not-allowed' cursor */
    opacity: 0.6; /* Make it less prominent */
}

/* Enabled button */
button {
    background-color: #28a745; /* Green background */
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    padding: 18px 30px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

/* Change button appearance on hover */
button:not(:disabled):hover {
    background-color: #218838; /* Darker green on hover */
}

/* Generate Button Section */
.generate-button-container {
    text-align: center;
    margin-top: 20px;
}

.generate-links-btn {
    padding: 18px 30px;
	margin-bottom: 20px; /* Adjust the value as needed */
    background-color: #28a745;
	color: white; /* Text color */
    border: none;
    border-radius: 5px;
    color: white;
	font-size: 18px; /* Font size */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
	margin-top: 20px;
	margin-bottom: 35px;
}

.generate-links-btn:hover {
    background-color: #218838;
}

/* Slide-in Effect */
#new-elements.appear {
    animation: slideInRight 1s forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in {
    animation: slideIn 1s ease-in-out forwards;
}

/*FINAL STEP STYLING */

.centered-text {
    text-align: center;
    font-size: 16px;
    margin: 10px 0;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 25px;
	margin-bottom: 35px;
}

.centered-heading {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0;
}

.verify-button {
    text-decoration: none !important;
    color: #yourColor !important;
    border: none !important;
}

.verify-btn {
    text-decoration: none !important; /* Remove underline */
	color: inherit; /* Ensure the text color matches the rest of your design */
	display: block;
	margin-bottom: 45px; /* Adjust the value as needed */
    margin: 20px auto;
    padding: 18px 30px;
    background-color: #28a745;
    color: white;
	font-size: 18px; /* Font size */
	font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Remove underline from verify button */
#verify-button, .verify-btn {
    text-decoration: none;
}

.verify-btn:hover {
    background-color: #218838;
}

#final-step {
    animation: slideInRight 0.5s ease-out forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in {
    animation: slideIn 1s ease-in-out forwards;
}



/* Notification container */
.notification {
    position: fixed;
    top: 20px;  /* Adjust as needed to control the vertical placement */
    right: -300px;  /* Initially hidden off-screen */
    background-color: rgba(0, 0, 0, 0.8);  /* Semi-transparent dark background */
    color: #fff;  /* White text color */
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    width: 250px;
    z-index: 1000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: right 0.5s ease-in-out;  /* Smooth sliding animation */
}

/* Style for the user icon */
.user-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;  /* Slight increase in space */
    border-right: 2px solid #fff;  /* Add a vertical border */
    padding-right: 10px;  /* Space between border and text */
}


/* Notification content container */
.notification-content {
    display: flex;
    flex-direction: column;
}

/* Username styling */
.username {
    font-weight: bold;
    font-size: 16px;
}

/* "Links Added" text styling */
.links-added {
    font-size: 14px;
    color: #a2ff00;  /* Green text color for the "Links Added" message */
}

/* For devices with a max width of 768px (tablets and smaller) */
@media (max-width: 768px) {
    .generator-container {
        max-width: 350px;  /* Reduce max-width for tablets */
        transform: scale(1.0);  /* Normal size on tablets */
    }
}

/* For devices with a max width of 480px (smaller mobile phones) */
@media (max-width: 480px) {
    .generator-container {
        max-width: 90%;  /* Set max-width as a percentage to be more fluid */
        transform: scale(0.9);  /* Scale down for smaller devices */
    }
}

a {
    text-decoration: none; /* Remove underline from all anchor tags */
}

a:hover, a:focus {
    text-decoration: none; /* Ensure underline doesn't appear on hover or focus */
}

/* Keyframe for glowing effect without scaling */
@keyframes glow {
    0% {
        box-shadow: 0 0 10px 5px rgba(255, 165, 0, 0.5); /* Light glow */
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.8); /* Stronger glow */
    }
    100% {
        box-shadow: 0 0 10px 5px rgba(255, 165, 0, 0.5); /* Return to initial glow */
    }
}




/* Keyframe for the glowing zoom in and out effect */
@keyframes glow {
    0% {
        box-shadow: 0 0 10px 5px rgba(255, 165, 0, 0.5); /* Light glow */
        transform: scale(1); /* No scaling */
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.8); /* Stronger glow */
        transform: scale(1.05); /* Slight zoom */
    }
    100% {
        box-shadow: 0 0 10px 5px rgba(255, 165, 0, 0.5); /* Return to initial glow */
        transform: scale(1); /* Back to original size */
    }
}

/* Apply the effect to all buttons */
button {
    padding: 18px 30px;
    font-size: 18px;
    border-radius: 5px;
    background-color: #fff; /* Ensure a background for visibility */
    border: none; /* Remove any borders */
    cursor: pointer;
    animation: glow 2s infinite ease-in-out; /* Apply the glowing animation */
}

/* Apply the effect to specific buttons if needed */
.verify-btn, .start-process-btn, .generate-links-btn {
    animation: glow 2s infinite ease-in-out; /* Glowing effect without scaling */
}

/* Slide and disappear animation for Start Process button */
.start-process-btn.disappear {
    animation: slide-out-left 0.5s ease-out forwards; /* Keep this sliding animation intact */
}

/* Keyframe for sliding left */
@keyframes slide-out-left {
    0% {
        transform: translateX(0); /* Start at the current position */
        opacity: 1;
    }
    100% {
        transform: translateX(-100%); /* Slide out to the left */
        opacity: 0;
    }
}