﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgO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z4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.clockin-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        color: #555;
    }

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

    .form-control:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
    }

.btn {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn:focus {
        outline: none;
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
    }

    .btn:hover {
        background-color: #0056b3;
    }

.clockin-success-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.clockin-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.clockin-item {
    padding: 15px;
    margin-bottom: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.clockin-info {
    color: #555;
    line-height: 1.6;
}

    .clockin-info strong {
        color: #333;
    }

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 18px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

    .btn:hover {
        background-color: #0056b3;
    }

.sync-btn {
    margin-top: 20px;
}
/* Container */
.clockin-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

    /* Title */
    .clockin-container .title {
        font-size: 1.5em;
        font-weight: bold;
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }

/* Input fields */
.input-field {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Add Button */
.btn-add {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
}

    .btn-add:hover {
        background-color: #0056b3;
    }

/* Clock-In/Clock-Out Button */
.btn-clockin {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
}

    .btn-clockin:hover {
        background-color: #218838;
    }

.btn-clockout {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
}

    .btn-clockout:hover {
        background-color: #c82333;
    }

/* Sync Message */
.sync-message {
    margin-top: 15px;
    font-size: 1.1em;
    color: #333;
    text-align: center;
}
/* Container */
.clockin-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

    /* Title */
    .clockin-container .title {
        font-size: 1.5em;
        font-weight: bold;
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }

/* Input fields */
.input-field {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Add Button */
.btn-add {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
}

    .btn-add:hover {
        background-color: #0056b3;
    }

/* Clock-In/Clock-Out Button */
.btn-clockin {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
}

    .btn-clockin:hover {
        background-color: #218838;
    }

.btn-clockout {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
}

    .btn-clockout:hover {
        background-color: #c82333;
    }

/* Sync Message */
.sync-message {
    margin-top: 15px;
    font-size: 1.1em;
    color: #333;
    text-align: center;
}

.custom-add-button {
    background-color: #28a745; /* Custom green */
    color: white;
    border: none;
}

.custom-retry-button {
    background-color: #dc3545; /* Custom red */
    color: white;
    border: none;
}

    .custom-add-button:hover, .custom-retry-button:hover {
        opacity: 0.8; /* Add hover effect */
    }

.clockin-container {
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.title {
    margin-bottom: 20px;
    text-align: center;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th, .table td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .table th {
        background-color: #f2f2f2;
    }

.sync-btn {
    margin-top: 20px;
}

.success-message {
    text-align: center;
    color: green;
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
}

.clockin-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sync-btn {
    margin-top: 20px;
}

.table {
    width: 100%;
    margin-top: 20px;
}

    .table th, .table td {
        text-align: center;
    }

/* Clock-in page container */
.clockin-container {
    padding: 20px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(180deg, #d3e9f7 0%, #f5f5f5 100%);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Title styling */
h3.title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Input fields styling */
.form-control {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Centered and styled clock-in button */
.clockin-btn-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 30px;
}

.clockin-btn {
    background-color: #28a745;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

    .clockin-btn:before {
        content: "";
        position: absolute;
        top: -15px;
        left: -15px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background-color: rgba(40, 167, 69, 0.3); /* Lighter green glow effect */
        z-index: 0;
    }

/* Success message styling */
.success-message {
    color: green;
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
}

/* Sync button styling */
.sync-btn {
    margin-top: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
}

/* Table for saved clock-in data */
.table {
    margin-top: 30px;
    width: 100%;
    border-collapse: collapse;
}

    .table th,
    .table td {
        text-align: center;
        padding: 12px;
        border-bottom: 1px solid #ddd;
    }

    .table th {
        background-color: #f5f5f5;
        color: #333;
    }

    .table td {
        background-color: #fff;
    }

/* Updated table styling */
.table {
    width: 100%; /* Make the table take full width of the container */
    border-collapse: collapse; /* Remove gaps between table cells */
    margin-top: 20px;
}

    .table th,
    .table td {
        padding: 10px; /* Add padding to the table cells for better spacing */
        text-align: center; /* Center align the content */
        border: 1px solid #ddd; /* Add a light border to make the table clearer */
    }

    .table th {
        background-color: #f8f9fa; /* Light gray background for table headers */
        color: #333; /* Darker text color for headers */
        font-weight: bold;
    }

    .table td {
        background-color: #fff; /* White background for table rows */
    }

    .table tr:nth-child(even) {
        background-color: #f2f2f2; /* Light gray background for even rows */
    }

.table-container {
    overflow-x: auto; /* Enable horizontal scrolling on small screens */
}

h3.title {
    margin-top: 20px;
    text-align: center;
}

/* Style for the welcome section */
.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Full height */
    background: linear-gradient(135deg, #6a82fb, #fc5c7d);
    color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.welcome-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.welcome-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.cta-button {
    margin-top: 20px;
}

    .cta-button .btn {
        padding: 15px 30px;
        font-size: 1.2rem;
        background-color: #ff7f50;
        border: none;
        border-radius: 30px;
        box-shadow: 0 8px 20px rgba(255, 127, 80, 0.3);
        transition: all 0.3s ease;
    }

        .cta-button .btn:hover {
            background-color: #fc5c7d;
            box-shadow: 0 8px 30px rgba(252, 92, 125, 0.4);
        }

.clockout-btn {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 100px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .clockout-btn:hover {
        background-color: darkred;
        transform: scale(1.1);
    }

.clockin-btn {
    background-color: green;
    color: white;
    border: none;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 100px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .clockin-btn:hover {
        background-color: darkgreen;
        transform: scale(1.1);
    }

.clockin-container {
    text-align: center;
    margin-top: 50px;
}

<style >
.clockout-btn {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%; /* Circular shape */
    width: 100px;
    height: 100px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 100px; /* Aligns the text vertically */
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
}

.clockout-btn:hover {
    background-color: darkred; /* Change color on hover */
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.clockout-btn:active {
    background-color: #b30000; /* Even darker color when pressed */
    transform: scale(1); /* Reset the scaling when pressed */
}





