/* Override Bootstrap button colors for the click effects */
#start {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#start:active {
    background-color: #004d00; /* Slightly darker green */
}

#stop {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#stop:active {
    background-color: #cc0000; /* Slightly darker red */
}

#reset {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#reset:active {
    background-color: #666666; /* Slightly darker gray */
}

/* Keep the hover effects */
.btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  /* Slight shadow on hover */
}

/* Style adjustments for the cards */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for modern card feel */
    border: none;
    border-radius: 10px; /* Smooth card edges */
}

/* Adjust timer display for smaller screens */
.display-4 {
    font-size: 3rem; /* Responsive scaling for smaller screens */
}

/* Padding adjustments for mobile responsiveness */
.container {
    padding: 15px;
}

.card-body p, .card-body ul {
    margin-bottom: 0;
}

.timer-display {
    font-size: 108px;  /* Timer size, larger than the icon */
}

.timer-display i {
    font-size: 48px;  /* Icon size, slightly smaller than timer */
    color: #007bff;   /* Default clock icon color (blue) */
}

.btn-group-toggle .btn {
    min-width: 200px; /* Adjust this value to control the button width */
    text-align: center; /* Center-align the text and icon */
}

.btn-group-toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


.tomato-icon,
.short-break-icon,
.long-break-icon {
    width: 20px;    /* Adjust the icon size */
    height: 20px;   /* Keep the icons proportional */
    margin-right: 4px; /* Space between the icon and the text */
    vertical-align: middle;  /* Align the icon with the text */
}


/* Hover animation for mode buttons */
.btn-group-toggle .btn {
    transition: background-color 0.3s, transform 0.1s ease-in-out;
}

.btn-group-toggle .btn:hover {
    background-color: #149e7cc0; /* Change to your preferred hover color */
}

/* Click animation to create a "pressed" effect */
.btn-group-toggle .btn:active {
    transform: scale(0.95); /* Slightly reduce the size to mimic a pressed effect */
}


/* Progress Bar Container */
.progress-container {
    width: 100%;
    background-color: #e0e0e0;  /* Light gray background */
    border-radius: 15px;
    height: 20px;
    margin: 30px 0; /* Space above and below the progress bar */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Actual Progress Bar */
.progress-bar {
    height: 100%;
    width: 0%; /* Start at 0% width */
    background-color: #28a745; /* Green color for progress */
    border-radius: 15px;
    transition: width 0.2s ease-in-out; /* Smooth transition effect */
}



/* Custom Alert Styles */
.custom-alert {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #f8f9fa;
    border: 2px solid #007bff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.custom-alert-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-alert-close {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.custom-alert-close:hover {
    background-color: #0056b3;
}
