/* General Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.5;
}

/* Container for all projects */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

/* Individual project container */
.project {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Project title */
.project .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #e87605; /* Updated to orange */
    border-bottom: 2px solid #e87605; /* Updated to orange */
    padding-bottom: 5px;
}

/* Task container */
.task {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.task:last-child {
    border-bottom: none;
}

/* Task title */
.task-title {
    font-size: 14px;
    font-weight: 500;
}

/* Ensure all Book Time buttons are the same size */
.book-time-btn {
    background-color: #e87605; /* Orange */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 4px 4px; /* Consistent padding */
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    min-width: 100px; /* Ensuring uniform size */
    text-align: center;
    display: inline-block;
    white-space: nowrap; /* Prevent wrapping */
}

/* Hover effect */
.book-time-btn:hover {
    background-color: #b55d04; /* Darker orange */
    transform: scale(1.05);
}

/* Ensuring buttons align with task titles */
.task {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Ensure the task title does not shrink */
.task-title {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
}

/* Prevent button from shrinking */
.book-time-btn {
    flex-shrink: 0;
}


/* Loading Circle */
.load_circle {
  display: block;
	height: 32px;
	width: 32px;
	-webkit-animation: loader-2-1 3s linear infinite;
	        animation: loader-2-1 3s linear infinite;
}
@-webkit-keyframes loader-2-1 {
	0%   { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes loader-2-1 {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.load_circle span {
	display: block;
	top: 0; left: 0;
	bottom: 0; right: 0;
	margin: auto;
	height: 32px;
	width: 32px;
	clip: rect(16px, 32px, 32px, 0);
	-webkit-animation: loader-2-2 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
	        animation: loader-2-2 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
}
@-webkit-keyframes loader-2-2 {
	0%   { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes loader-2-2 {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.load_circle span::before {
	content: "";
	display: block;
	top: 0; left: 0;
	bottom: 0; right: 0;
	margin: auto;
	height: 32px;
	width: 32px;
	border: 3px solid transparent;
	border-top: 3px solid orange;
	border-radius: 50%;
	-webkit-animation: loader-2-3 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
	        animation: loader-2-3 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
}
@-webkit-keyframes loader-2-3 {
	0%   { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes loader-2-3 {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.load_circle span::after {
	content: "";
	display: block;
	top: 0; left: 0;
	bottom: 0; right: 0;
	margin: auto;
	height: 32px;
	width: 32px;
	border: 3px solid rgba(255, 165, 0, 0);
	border-radius: 50%;
}

/* Form styling */
.input-area {
    margin-top: 15px;
    padding: 15px;
    background-color: #f6f6f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: none; /* Initially hidden */
}

.input-area label {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.input-area input,
.input-area select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s, background-color 0.3s;
}

/* Hover effect for input fields and selects */
.input-area input:hover,
.input-area select:hover {
    border-color: #e87605; /* Orange border color */
    background-color: #f9f9f9; /* Light background color */
    cursor: pointer; /* Pointer cursor on hover */
}

/* Focus effect for input fields and selects */
.input-area input:focus,
.input-area select:focus {
    border-color: #e87605; /* Orange border */
    outline: none;
    box-shadow: 0 0 5px rgba(231, 118, 5, 0.7); /* Subtle orange glow */
}

.input-area input[type="number"] {
    -moz-appearance: textfield;
}

.input-area input[type="number"]::-webkit-outer-spin-button,
.input-area input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .project {
        width: 100%;
        max-width: 400px;
    }
}

/* Submit Button Styling */
.submit-btn {
    background-color: #e87605; /* Orange background */
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    width: 100%;
    max-width: 200px;
    margin-top: 20px;
}

/* Hover effect for submit button */
.submit-btn:hover {
    background-color: #b55d04; /* Darker orange */
    transform: scale(1.05); /* Slightly enlarge the button */
}

/* Focus effect for submit button */
.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(231, 118, 5, 0.7); /* Subtle orange glow */
}

/* Disabled state */
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Active state */
.submit-btn:active {
    transform: scale(0.98); /* Button shrinks slightly when clicked */
}



/* new couter */
.counter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #e87605;
    border-radius: 8px;
    padding: 5px;
    width: fit-content;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    background-color: #e87605;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.counter-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.counter-btn:hover:not(:disabled) {
    background-color: #c76504;
}

.counter-container input {
    width: 55px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border: none;
    background: transparent;
}
