/* Keep widget components intact */
.compass-container {
    position: relative;
    margin: 30px auto;
    padding: 20px;
    position: relative;
    width: 200px;
    height: 200px;
    border: 5px solid #333;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.compass-label {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 5;
}

.compass-marks {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compass-marks span {
    position: absolute;
    font-weight: bold;
    color: #555;
    font-size: 1.2em;
}

.north { top: 10px; }
.east { right: 10px; transform: translateY(-50%); top: 50%; }
.south { bottom: 10px; }
.west { left: 10px; transform: translateY(-50%); top: 50%; }

.compass-needle, .azimuth-needle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    transform-origin: 50% 100%;
    transition: transform 0.1s ease-out;
    z-index: 10;
}

.compass-needle {
    border-bottom: 70px solid red;
}

.azimuth-needle {
    border-bottom: 70px solid greenyellow;
}

.nudge-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Centers the button vertically */
}

#nudge-ccw {
    left: -70px; /* Moves left outside the circle boundary */
}

#nudge-cw {
    right: -70px; /* Moves right outside the circle boundary */
}


/* CSS for Calendar event padding to see the text properly in short events */
/* Ensure calendar events have a minimum height to fit two lines of text */
.fc-timegrid-event, 
.fc-v-event {
    min-height: 19px !important; /* Adjust height as needed */
}

/* Reduce top padding and tighten line height inside the event card */
.fc-event-main,
.fc-event-time,
.fc-event-title {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    line-height: 1.1 !important;
    font-size: 0.825rem !important; /* Slightly smaller font for short events */
}

/* Eliminate top margin/padding on inner container paragraphs or spans */
.fc-event-main-frame {
    margin-top: 0 !important;
    padding-top: 0 !important;
}