.card .controls {
    display: flex;
    gap: 10px;
}

/* Refresh button */
.card .controls .btn {
    color: #2e7d32;
    background: none;
    /* color: #ffffff; */
    border: none;
    /* padding: 8px 14px; */
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.card .controls .btn:hover {
    color: #46bc4c;
}

/* Card container */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    max-width: 1100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    overflow-x: auto;
}

/* Card header */
.card .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card .head h3 {
    font-size: 20px;
    color: #2e7d32;
}

/* Body section */
.card .body {
    margin-top: 15px;
}

/* Controls section */
.card .body .controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.card .body label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
    color: #454444;
}

.card .body select,
.card .body input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.card .body select:focus,
.card .body input:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 4px rgba(46, 125, 50, 0.3);
}

.weather-card {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    background: white;
    /* padding: 20px; */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.weather-card h3 {
    color: #2e7d32;
}

.weather-card .temp {
    font-size: 40px;
    font-weight: bold;
}

.weather-card .details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    color: #555;
}

.weather-card .head {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.weather-card .head button {
    background: none;
    border: none;
    font-size: 20px;
    color: #2e7d32;
}

.weather-card select {
    font-size: 18px;
    color: #2e7d32;
    font-weight: 600;
    background-color: #00000000;
}

.weather-card .head button:hover {
    color: #46bc4c;
}

.weather-card select {
    border: none;
    outline: none;
}

.weather-card select:active {
    border: none;
}

.circle-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.circle-card h3 {
    margin: 0;
    padding: 0;
}

.circle-card h1 {
    font-size: 50px;
    font-weight: 450;
}

.circle-card i {
    color: #2e7d32;
}

/* Circular display (hollow style) */
.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#2e7d32 calc(var(--value) * 1%), #e6e6e6 0);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    position: relative;
}

.circle::before {
    content: "";
    position: absolute;
    width: 85px;
    height: 85px;
    background: #fff;
    border-radius: 50%;
    z-index: 1;
}

.circle span {
    position: relative;
    z-index: 2;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.circle::after {
    content: attr(data-label);
    position: absolute;
    font-size: 12px;
    color: #666;
    bottom: -18px;
}

.crop-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    width: 250px;
    /* max-width: 1000px; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    overflow-x: auto;
}

.crop-cards {
    display: flex;
}

.crop-cards button {
    /* margin: auto; */
    margin-top: 10px;
    width: 100%;
    padding: 5px 15px;
    color: #2e7d32;
    font-weight: 600;
    background-color: rgb(197, 255, 219);
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.crop-cards button:hover {
    background-color: rgb(23, 255, 112);

}

.crop-card img {
    width: 200px;
    /* height: 10%; */
}

@media only screen and (max-width: 768px) {
    .crop-card {
        width: auto;
    }

    .crop-card img {
        width: 95%;
        /* height: 10%; */
    }

    .crop-cards {
        flex-direction: column;
    }
}