/* ==========================================================================
   Royal Blue Button with Parallel Inside Line & Interactive Depressed Effect
   ========================================================================== */

/* Styling the anchor tag to look and behave like a physical button */
.royal-button {
    position: relative;
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #4169e1; /* Royal Blue */
    text-decoration: none;     /* Removes standard hyperlink underline */
    border-radius: 12px;
    cursor: pointer;           /* Forces the hand pointing cursor on hover */
    user-select: none;         /* Prevents text highlighting while clicking */
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Make it oval */
   .oval-element {
      /* Maintains standard layout sizing */
      box-sizing: border-box; 
      
      /* Make width and height unequal to stretch the circle into an oval */
      width: 150px;
      height: 80px;
      
      /* Rounds the corners perfectly into an ellipse */
      border-radius: 50%;
      
      /* Visual styling example */
      background-color: #0047ab; 
      border: 4px solid #333333;
    }

/* The inside parallel accent line */
.royal-button::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px; /* Proportional radius scaling for parallel appearance */
    pointer-events: none; /* Prevents interference with clicking the main element */
    transition: border-color 0.2s ease;
}

/* Hover State - Darkens button background, brightens inner line */
.royal-button:hover {
    background-color: #27408b; /* Darker Royal Blue */
}

.royal-button:hover::after {
    border-color: rgba(255, 255, 255, 0.8);
}

/* Active State - Creates the tactile "depressed" physical click effect */
.royal-button:active {
    transform: scale(0.96);    /* Scales down slightly to appear pushed inward */
    background-color: #1c306b; /* Deepest Royal Blue tone */
}
