body {
  font-family: -apple-system, Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  background-color: #fff;
  color: #222;
  font-size: 14px;
}

/* Make all images scale properly on mobile */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout container */
.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  margin: 10px 0;
}

a {
  color: #0077B5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Responsive table wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* Buttons */
button, .btn {
  background-color: #0077B5;
  color: #fff;
  padding: 4px 8px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}

button:hover, .btn:hover {
  background-color: #092d6b;
}

/* Form Container */
form {
    max-width: 360px;
    margin: 20px auto;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* Labels */
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

/* Inputs, Textareas, Select */
input,select,
textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Textarea specific */
textarea {
    min-height: 100px;
    resize: vertical;
}

/* Focus effect */
input:focus,
select:focus,
textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='gray'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}


table.dataTable tbody tr:hover {
    background-color: #E6F2FA !important;
}

table.dataTable tbody tr.odd {
    background-color: #f7f7f7;
}

table.dataTable tbody tr.even {
    background-color: #f5f5f5;
}

.actionNotification {
    height: 20px;
    padding: 8px 12px;         /* spacing inside box */
    background-color: skyblue;
    color: #333;                /* readable text */
    font-style: italic;
}

#filterSection label { margin-right: 15px; }
    tr.shown { background-color: #f9f9f9; }
    
    /* Pointer cursor only on data rows */
    #tryoutsTable tbody tr:not(.image-row):hover {
        cursor: pointer;
    }

    /* Image row styling */
    #tryoutsTable tbody tr.image-row td {
        padding: 5px;
        text-align: center;
    }
    #tryoutsTable tbody tr.image-row img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
    }

    /* Layout for moved DT elements */
    #dtLength, #dtSearch {
        display: inline-block;
        margin-right: 20px;
    }
    
 .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff; /* SoccerLinked blue */
    padding: 8px 10px;
    border-bottom: 1px solid #E6F2FA;
  }
  .navbar a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  .navbar a:hover {
    text-decoration: underline;
  }
  .navbar-logo img {
    height: 40px;
  }

  /* Profile picture */
  .profile-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #0077B5;
  }

  /* Hamburger menu button */
  .navbar-toggle {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
  }

  /* Menu items */
  .navbar-menu {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  
  .profile-dropdown {
	  position: relative;
	  display: inline-block;
	}
	
	/* Dropdown menu */
	.dropdown-menu {
	  display: none;
	  position: absolute;
	  right: 0;
	  top: 45px;
	  background-color: #fff;
	  min-width: 150px;
	  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	  border-radius: 6px;
	  z-index: 1000;
	}
	
	.dropdown-menu a {
	  display: block;
	  padding: 10px 14px;
	  text-decoration: none;
	  color: #333;
	  font-size: 14px;
	}
	
	.dropdown-menu a:hover {
	  background-color: #f3f3f3;
	}
	
	
.layout {
    display: flex;
    flex-direction: row;   /* desktop: side-by-side */
    height: 100vh;
}

/* 📱 Mobile */
@media (max-width: 748px) {
  .layout {
      flex-direction: column;
      height: auto;
  }

/* Default (desktop) */
.tryoutActions {
    gap: 6px;
    z-index: 5;
}

.favTryoutBtn.is-favorited {
    color: yellow;
}

.ui-dialog-titlebar-close {
    background-color: #0077B5 !important;
    border-radius: 3px !important;
    padding: 4px 8px !important;
    position: relative;
}

/* draw the X */
.ui-dialog-titlebar-close::before,
.ui-dialog-titlebar-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #fff;
}

.ui-dialog-titlebar-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.ui-dialog-titlebar-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* remove sprite */
.ui-dialog-titlebar-close .ui-icon {
    display: none;
}


/* ── Message form overrides ─────────────────────────────────
   Prevent global form/input styles from breaking the message modal
   ────────────────────────────────────────────────────────── */
form.msg-form {
  max-width: 100%;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
}

form.msg-form label {
  font-size: 13px;
  margin-bottom: 4px;
}

form.msg-form input[type="text"],
form.msg-form textarea {
  padding: 6px 8px;
  font-size: 14px;
  margin-bottom: 10px;
  border-radius: 4px;
}

form.msg-form textarea {
  min-height: 80px;
}

form.msg-form input[type="file"] {
  padding: 0;
  border: none;
  box-shadow: none;
  font-size: 13px;
  margin-bottom: 4px;
  width: auto;
}


