.r-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  & th {
	background-color: #f8f8f8;
	color: #333;
	font-weight: 600;
	padding: 12px 15px;
	text-align: left;
	border-bottom: 2px solid #e0e0e0;
  }
  
  & td {
	padding: 12px 15px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: middle;
  }
  
  & tbody tr:nth-child(even) {
	background-color: #f9f9f9;
  }
  
  & tbody tr:hover {
	background-color: #f1f1f1;
  }
}

@media (max-width: 768px) {
  .r-table {
	
	& tr {
	  border: 1px solid #ddd;
	  margin-bottom: 10px;
	}
	
	& td {
	  border: none;
	}
  }
}

div:has(.r-table) { overflow-x: auto; }

details {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 12px;
    padding: 8px 5px 12px;
    font-family: 'Arial', sans-serif;
    color: #4d4d4d;
    font-size: 14px;
    line-height: 1.5;

	& summary {
		color: #1a1a1a;
		font-size: 16px;
		font-weight: 600;
		cursor: pointer;
		list-style: none;
		position: relative;
		padding: 4px 25px 4px 4px;
		transition: color 0.2s ease;
		outline: none;

		&::after {
			content: '+';
			position: absolute;
			right: 0;
			top: 50%;
			transform: translateY(-50%);
			font-size: 18px;
			color: #777;
			transition: all 0.2s ease;
		}

		&:hover {
			color: #000;
		}
	}

	&[open] {
                font-size: large;
		border: 1px solid #e0e0e0;
		border-radius: 4px;
		padding: 8px;

		& summary {
			color: #000;
			margin-bottom: 8px;

			&::after {
				content: '-';
			}
		}
	}
}