.profilecontainer{
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: auto auto;
    column-gap: 2px;
    width:100%;
}

.portfolio{    /* portfolio section in profile page */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.subscription {
    display: grid;
    grid-template-rows: auto 1fr;
    column-gap: 2px;
}

.profile-entry {
    display: grid;
    grid-template-columns: max-content auto;
    column-gap: 2px;
    row-gap: 7px;
    max-width: fit-content;
    margin: 0 35px;
    font-size: 16px;
}

.profilehead{
    display: flex;
    width:fit-content;
    align-items: center;

}
.profile-label::after {
  content: " : ";
  font-weight: bold;

}

.profile-label{
    font-size: small;
    color: darkslategrey;
    text-align: right;
    white-space: pre-line;
    padding-right: 5px;
    margin:0;
}
.gallery{
    padding:15px;
    grid-column: 1 / span 2; /* Spans both columns */
    grid-row: 2;
}
.photo-frame, .photo-framex{
  min-width: 90px;
  aspect-ratio: 1/1;
  border: 2px dashed #ccc;
  border-radius: 4px;
  display: inline-block;
  align-content: center;
  cursor: pointer;

  background-image: url('/static/shortlogo.svg');
  background-size: 20% auto;;   /* fit entire image inside */
  background-repeat: no-repeat; /* prevent tiling */
  background-position: center;  /* center the image */;
  opacity: 0.6; /* gives a faded look (watermark-like) */
}
.gallery-photos{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}
.photo-frame input {
  display: none; /* Completely hides "No file chosen" & default button */
}
.photoblock{
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    margin: 20px;
}
.photoedit{
    width:300px;
    aspect-ratio: 1/1; 
    margin:auto;
    cursor:auto;
}
.photoscroll {
    pointer-events: auto;   /* clickable */
    padding:8px;
    align-self: center;
    border-radius: 40%;   /* makes it circular */
    color: #B8b7A3;  /* text color */
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.photoscroll:hover {
    background: gray; /* brighter on hover */
    color: black;
}

/* cropp box border setting */
/* Change the crop box border color */
.cropper-crop-box,
.cropper-view-box {
  border: 3px solid blue !important;
}

/* Also adjust the dashed lines inside (optional) */
.cropper-dashed {
    border-color: white !important;
}

/* Change the resizable handles (optional, for consistency) */
.cropper-line,
.cropper-point {
  background-color: red !important;
}
/* Make the crop box border lines thicker */
.cropper-line {
  background-color: blue !important; /* keep your desired color */
  width: 6px !important;            /* thickness of vertical lines */
  height: 6px !important;           /* thickness of horizontal lines */
}

/* Make the corner/edge points (resize handles) larger */
.cropper-point {
  background-color: red !important; /* keep consistent color */
  width: 14px !important;           /* size of the square handle */
  height: 14px !important;
}

.value {
    width:140%;
    white-space: pre-line;
    margin:0;
}

.locality_suggest{
    font-size: small;
    color: purple;
    width:400px;
    text-align: left;
    text-wrap: None;
}

form {
    margin-top:25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    align-items: center;
}

hr {
    border: none;
    height: 2px;
    width:100%;
    background-color: slategray;
}

[name='detailed']{
    display:none;
}

.bizdescription{
  display: block;
  align-content: left; 
  border: 0.5px solid lightblue;
  border-radius: 8px; 
  margin:5px;
  position:relative;
  max-width:80%;
  min-width:80%;
}

.descr-pair {
    margin-bottom: 12px;
    padding: 10px;
    position: relative;
}

.descr-head {
    display: block; 
    align-content: left;
    min-width:60%;
    max-width:90%; 
    border: 1px solid #ccc;
    border-radius: 8px; 
    min-height:25px;
    max-height:30px;
    position:relative;
    align-items:center;
    resize: both;
    padding-left:7px;
    align-content: center;
    font-size: medium;
}
.descr-text {
    display: block; 
    align-content: left;
    min-width:100%;
    max-width:100%; 
    border: 1px solid #ccc;
    border-radius: 8px; 
    min-height:100px;
    max-height:200px;
    margin-top:5px;
    position:relative;
    align-items:center;
    resize: both;
    padding:7px;
    font-size: medium;
}

.delete-btn {
    position: absolute;
    top: 20px;
    right: 15px;
    background-color: red;
    color: white;
    border: none;
    padding: 0 4px;
    cursor: pointer;
    font-size: 14px;
    z-index:8;
}
.add-pair {
    position:static;
    bottom: 25px;
    left: 20px;
    background-color: green;
    color: white;
    border: none;
    padding: 0 5px;
    cursor: pointer;
    font-size: 14px;
}

table {
    border-collapse: collapse;    
}
td, th {
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
}
th{
    background-color: #E8E9EB;
}
td {
font-family: Tahoma, sans-serif;
}

td:hover{
cursor: pointer;
background-color: #B8b7A3;
font-weight: bold;
color:navy;

}
td.selected {
    background-color: navy;
    font-weight: bold;
    color:white;
}

td.disabled {
  pointer-events: none;
  opacity: 0.5;
  text-decoration: line-through;
  color: brown;
}

.thanku{
    justify-content: center;
    text-align: center;
    color:olive;
}

.combo-popup label:hover {
  background: #f0f0f0;
}

.selected-box {
  margin-top: 8px;
  padding: 6px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  min-height: 30px;
  font-size: 14px;
  border-radius: 4px;
} */

/* /////////////////// */
/* Search input */
  #tagSearch {
    width: 300px;
    padding: 6px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  /* Popup container */
  .combo-popup {
    border: 1px solid #ccc;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px;
    width: 300px;
    display:none;
  }

  /* Each label with checkbox */
  .combo-popup label {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 6px;
    padding: 4px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
  }

  .combo-popup label:hover {
    background: silver;
  }

  .combo-popup input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  /* Selected tags display box */
  .selected-box {
    margin-top: 10px;
    padding: 6px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    min-height: 30px;
    font-size: 14px;
    border-radius: 4px;
    width: 300px;
    white-space: pre-line; /* ensures \n becomes actual line break */
  }

/* Griding to be uniformed for label & input formats on pages login, registrt, profile-update & portfolio */
.prof_grid {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 10px 15px;   /* row-gap | column-gap */
}

.prof_grid label {
  text-align: right;
  padding: 6px 10px;
  justify-self: right;
}

.prof_grid input {
  padding: 6px;
  justify-self: left;
  box-sizing: border-box;
}
.prof_grid_input{
  grid-column: 2;
  padding: 6px;
  justify-self: left;
  box-sizing: border-box; 
}

.prof_grid_club {
  grid-column: 1 / span 2;
  justify-content: center;
  justify-self: center;
}