﻿.card {
    width: 200px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin: 20px;
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
}

.card h3 {
    font-size: 14px;
    margin: 5px 0;
}

.card p {
    font-size: 12px;
    color: gray;
}

.Button {

    border-color: #213FD4;
    background-color: white;
    color: #213FD4;
   
    border-width: 1px;
    height: 30px;
    width: 150px;
    border-radius: 3px;

    font-weight: bold;
}

.Button:hover {
    background-color: #213FD4;
    border-width: 1px;
    color: white;
}

.Button:active {
    border-color: #1E1E1E;
    background-color: #1E1E1E;
    box-shadow: 0 2px #666;
    transform: translateY(1px);
}

.Button:disabled{
    background-color:lightgray;
    color:black;
}

.Textbox {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.DropDownList {
    width: 207px;
    height: 30px;
}

/* GridView container */
.GridView {
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

/* Header style */
.GridView th {
    background-color: #2c3e50; /* dark header */
    color: #fff;
    padding: 12px 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* Row style */
.GridView td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

/* Alternating row color */
.GridView tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover effect */
.GridView tr:hover {
    background-color: #f1f7ff;
}

/* Selected row */
.GridView .selected {
    background-color: #d1e7fd !important;
}

/* Pager style */
.GridView .pager {
    background-color: #f5f5f5;
    text-align: center;
    padding: 10px;
}

.GridView .pager a {
    padding: 6px 12px;
    margin: 0 3px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
}

.GridView .pager a:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.GridView .emptydatatext {
    text-align: center;
    padding: 20px;
    font-size: 15px;
    font-weight: 500;
    color: red;
    background-color: #fafafa;
    border: none;
}


.Panel{
    justify-self:center;
    text-align:left;
    width: 95%;
    border: 1px solid lightgrey;
}

.Panel h1{
    font-size: large;
    color:dimgray;
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.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: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 30px;
}

.slider.round:before {
    border-radius: 50%;
}


/*Numeric Up Down*/
.up{
    cursor: pointer;
    color: black;
}

.up:active{
    box-shadow: 0 1px #555;
    transform: translateY(1px);
}

.down{
    cursor: pointer;
    color: black;
}

.down:active{
    box-shadow: 0 -1px #555;
    transform: translateY(1px);
}

/*Collapsible Panel*/
.CollapsiblePanelHeader {
    background-color: #f8f8f8;    
    cursor: pointer;
    padding: 5px;
}

.CollapsiblePanelHeader h4 {
    font-weight: bold;
}

.CollapsiblePanel {
    background-color: #f8f8f8;
    border-bottom: 5px solid lightgray;
    padding: 5px;
    margin-bottom: 5px;
}