﻿/* buttons */
.action-button {
    /*width: 30px;
    height: 30px;*/
    padding: 6px;
    margin: 2px;
    border: none;
    border-radius: 2px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    background: none; /* Ensures a flat background */
    box-shadow: none; /* Ensures no shadow for a flat look */
}

.primary-button {
    padding: 6px;
    margin: 2px;
    border: none;
    border-radius: 2px;
    color: white;
    background-color: cornflowerblue !important;
    cursor: pointer;
    font-size: 16px;
    background: none; /* Ensures a flat background */
    box-shadow: none; /* Ensures no shadow for a flat look */
}

.secondary-button {
    padding: 4px;
    margin: 2px;
    border: 2px solid cornflowerblue;
    border-radius: 2px;
    color: cornflowerblue;
    background-color: white !important;
    vertical-align: middle;
    cursor: pointer;
    font-size: 16px;
    background: none; /* Ensures a flat background */
    box-shadow: none; /* Ensures no shadow for a flat look */
}

.add-new {
    background-color: #4CAF50; /* Green */
}

.whatsapp {
    width: 50px;
    height: 50px;
    color: #4CAF50; /* Green */
    background-color: #dde5e3;
}

.edit {
    background-color: #2196F3; /* Blue */
}

.payment {
    background-color: #FF9800; /* Orange */
}

.print {
    width: 50px;
    height: 50px;
    background-color: #66BAF9; /* Light Blue */
}

.activity {
    background-color: #2D4872; /* Dark Blue */
}

.delete {
    width: 50px;
    height: 50px;
    background-color: #D72828; /* Red */
}

/* Toggle switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    margin:0 auto;
    width: 52px;
    height: 30px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCC;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 30px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Toggle script ends */